My FP1 arrived today with a chinese documentation, but I managed to connect it with my zigbee2MQTT by pressing the button on the back for several seconds, until a small blue LED was blinking.
So no Aqara Home app is required to connect, regions are supported directly under zigbee2MQTT someone said.
To add further regions you have to start at 2) again ... it is important to set the region_id first
you can have regions with just one X and Y cordinate
==> just finish with 4) and proceed to 8)
It is very impotant that you click the respective "Apply" button for start-coordinate and end-coordinat otherwise the region is not properly defined and will not work.
Na dann wuensch ich dir noch viel spass mit den regionen einstellen, hat bei mir auch n bisl gedauert .. aber wenn du den dreh raus hast dann ist es einfach!
Bonus hint:
Plan your regions first
I did it a simple plan on excel as shown in my fisrt post, it will help a lot
The system does allow overlaps of regions .. but i found it difficult to manage in Node-Red and therefore avoid overlaps
to check the regions you have to use the "action" item zigbee2mqtt/Living.Motion/action... best visible with MQTT-Explorer
The action is quickly overwritten with "NULL" therfore you have to handle them properly in Node-Red while the region state (e.g. region_9_enter) is valid
I have no single "Apply" Button on this page, neither with my PC with Firefox, Chrome or Edge nor on my Samsung smartphone, neither near the regions nor the zones.
But it seems to work, since I got action messages regarding entering or leaving region 2.
But I have no idea, where or how the regions are saved and what regions I have had defined.
Do you see somewhere in zigbee2mqtt, what regions with which zones you have defined?
Wenn der Browser mir den APPLY button anzeigen würde, wäre es sicher viel einfacher!!!
I still have 20210120. But I won't update it, since I found a possible answer at reddit:
I was just attempting to add regions on my FP1, and there are no Apply buttons in my zigbee2mqtt "Exposes" interface. In fact, any time I click on or alter any of the fields it automatically sends the payload, which makes the setup process extremely finicky.
Is this something wrong with my instance, or did zigbee2mqtt change the way it works since this post was written?
They changed it with + - symbols. Set a region ID, click the green plus. Set the coordinates, click the + and that's it.
I just upgraded my system and now I;m in the same situation as you are .. I'm no longer to define the regions ... the sliders for X/Z do not work .. and the apply button is missing
this is the interface now (WORNG!) ... no APPLY button .. and too many X/Y areas
I have now used the manual commands for delete and create as per the zigbee2mqtt product page and i was able to setup the regions properly. Just send the below commands to your device using
zigbee2mqtt/FRIENDLY_NAME/set
Delete region: {"region_delete": {"region_id": 10}} .... value 1-10
I deleted all regions before creating new ones ... now it works again (without using UI from zigbe2mqtt .. i hope they fix the issue soon because it was much easier)
define all 10 regions as shown below
--> the OUT-Node is going directly to my MQTT-OUT (pls change as per your settings)
--> i'm aware the flow can be simplified but I wanted to keep each step transparent
--> you can monitor the successful progress in the zigbee2mqtt UI
First of thx for sharing
2 questions:
How did you build this arena board in your first message, I would like to use it to set up my groups
And how did you setup your MQTT out because i dont see anything in the log on the zigbee2mqtt logs (i created on with localhost:1883 and my mosquito broker credentials)
just ignore the Thing node, as this is just providing the entire MQTT payload as it was received from MQTT-IN node (you can take MQTT data directly here)
this logic will switch on lights based on the region information
the zigbe2mqtt UI will show you in a popup that the regions have been deleted correctly and than as well when they have been redefined again (similar message as you have in your debug node)
sorry, I have not checkedzigbe2mqtt logs (but I dont think it will show there, just look-out for the popups)