Experimental: ESP Easy MySensors Edition
-
Well to be more precise: If you have a DHT (temp+hum) and BMP (temp+baro) and each value has a unique child id, Domoticz seems to create two devices but each will have three values.
What I send is this:child id 4 (hum value from DHT)
child id 5 (temp value from DHT)
child id 12 (baro value from BMP)
child id 13 (temp value from BMP)End result is two temp+hum+baro devices.
So it adds the humidity value to the BMP sensor
And adds the barometric pressure value to the DHTOr could I use the same child-id for multiple values?
I though child-id's need to be unique for each value? -
It's a bit weird they get grouped by the controller. Guess they had some nice device type they wanted to reuse.
A few device types actually allows different sensor readings. You'll find them in the last column of the presentation-table here:
http://www.mysensors.org/download/serial_api_15
I.e. For a S_BARO device you can send bot V_PRESSURE and V_FORECAST.In retrospect we probably would have splitted/organized things differently.. But this is what we have at the moment.
-
It's a bit weird they get grouped by the controller. Guess they had some nice device type they wanted to reuse.
A few device types actually allows different sensor readings. You'll find them in the last column of the presentation-table here:
http://www.mysensors.org/download/serial_api_15
I.e. For a S_BARO device you can send bot V_PRESSURE and V_FORECAST.In retrospect we probably would have splitted/organized things differently.. But this is what we have at the moment.
@hek said:
It's a bit weird they get grouped by the controller. Guess they had some nice device type they wanted to reuse.
A few device types actually allows different sensor readings. You'll find them in the last column of the presentation-table here:
http://www.mysensors.org/download/serial_api_15
I.e. For a S_BARO device you can send bot V_PRESSURE and V_FORECAST.In retrospect we probably would have splitted/organized things differently.. But this is what we have at the moment.
I think Domoticz can only work with a fixed number of combined sensor devices and it looks like this is the only way to transform data from MySensors to one of the build-in device types.As Domoticz is our main platform it would make not much sense to further develop on something that is not supported.
I don't know how other Home Automation controllers handle this. If you connect two similar DHT22 unit's to a single node, would they be able to figure out how to display this properly? Would they automatically create two devices with both values displayed. Or (I guess) they would create 4 devices and not combine them in any way?
-
Most controllers show them as separate devices. But I guess that if different sensor values are reported on the same chid-id it could be a candidate for combination (GUI-vise).
@martinus The last commit was in 2015. Is this going to be developed any further? I like the approach and would give it a try, if the project was still alive.
-
well done , but anyone here can tell me is it possible with ESP easy make network of ESP module , one in AP mode and others in Station mode ? AP module receive the sensor data of all other Station ESP module and probably send back them command or acknowledgment
-
If anyone answers @Hamid-s-k, please answer in https://forum.mysensors.org/topic/4053/esp-iot-net/ instead of here so we kepe the discussion in one place.
-
@hek said:
Most controllers show them as separate devices. But I guess that if different sensor values are reported on the same chid-id it could be a candidate for combination (GUI-vise).
Well the child ID's are unique, but Domoticz seems to keeps on trying to combine stuff within the same Node ID and create a mess if you have more than one similar sensor attached to a single node. This renders this project useless.

This list is merged into 5 separate devices by Domoticz, creating incorrect and confusing information.There's a thread on the subject, and it the issue seems to count for native mysensor nodes too.
http://www.domoticz.com/forum/viewtopic.php?f=42&t=9363&start=20
I think the mysensors protocol lacks some sort of group ID. If you connect two DHT22 sensors on a single node, how to tell which temp goes with which humidity if you receive 4 arbitrary child ID's ?
-
@hek said:
Most controllers show them as separate devices. But I guess that if different sensor values are reported on the same chid-id it could be a candidate for combination (GUI-vise).
Well the child ID's are unique, but Domoticz seems to keeps on trying to combine stuff within the same Node ID and create a mess if you have more than one similar sensor attached to a single node. This renders this project useless.

This list is merged into 5 separate devices by Domoticz, creating incorrect and confusing information.There's a thread on the subject, and it the issue seems to count for native mysensor nodes too.
http://www.domoticz.com/forum/viewtopic.php?f=42&t=9363&start=20
I think the mysensors protocol lacks some sort of group ID. If you connect two DHT22 sensors on a single node, how to tell which temp goes with which humidity if you receive 4 arbitrary child ID's ?
@martinus Anoying isn't it?
I allways give a description for each child I present. E.g.
gw.present( TEMP1_CHILD_ID, S_TEMP, "DHT1 sensor", true ); // present to controller gw.present( TEMP2_CHILD_ID, S_TEMP, "DHT2 sensor", true ); // present to controllerBy doing this I can see the description in Domoticz, so that I know what to add.