-
-
Notifications
You must be signed in to change notification settings - Fork 98
Add more sensors to Eurotronic SpiritZ #810
base: master
Are you sure you want to change the base?
Conversation
Better Hass support, for graphing and data To work with entities which represent data, added some sensors for homeassistant discovery - Valve Position: Values 0-100 - Room temperature: Celsius room temperature - Set temp as Sensor for normal and Eco
Are them using the same values? Because each value can only be binded to a unique Hass discovery |
i have a customDiscovery using these sensors, and some values are also shared (same) with the climate discovery.
|
@billiaz I need to check the code, I'm sure that in some cases it will work without any problems but on z2m side I only store 1 discovery for each value, I think that for example in the case you press "rediscover node" only the last one will rediscovered for example |
Yes like I told you if you check |
so this is clearly a z2m bit. are these values used to produce uniqueness or also to discover where they belong? Asking this, if these are just "labels" might worth to name them differently in this case. |
@billiaz @aretakisv them are used to keep track of the discovered values of each node, them are used to remove the discovered values for xample when a node is removed or to rediscover them when the user press on rediscover, also if you check on discovered devices you should not be able to see all of them if some have multiple devices discovered with same valueId. Also when a message is received I check for discovered device of that valueId to see If it need to be parsed (for example rgb values) |
@robertsLando i am the same person Billiaz or this, just replying from another account. if the value for instanes is 49-1-1-S would that cause any issues, as teh 49-1-1 topi path do not exist? in that case |
@billiaz I think that the only fix would be to make that an array of discovered templates instead of single objects |
you mean , like my example of customDevices.json right? one array of templates! ofcourse in the end we submit this as an array as you can see. |
Nope I mean in Gateway.js, |
I think this will be useful change. I am not sure for other devices but for this thermostat in particular it hinders its functionality. For example the topic 64-1-0 is used for setting the heating mode but also for enabling the direct valve control. The current dimmer on/off functionality is not working. Are there plans for changing the implementation in the Gateway.js? Unfortunately my JS is not existing at all. |
Actually nope because I'm focusing on the transition to https://github.com/zwave-js/zwavejs2mqtt |
This pull-request is stale because it has been open 90 days with no activity. Remove the stale label or comment or this will be closed in 5 days. To ignore this pull-request entirely you can add the no-stale label |
Better Hass support, for graphing and data
To work with entities which represent data, added some sensors for
homeassistant discovery
@robertsLando I would like these to be used from both stella and spiritz. But I do not know how to make them merge an array of sensors and the Climate hashmap
in order words something like:
[SPIRIT_ZWAVE_PLUS] + EUROTRONIC_S_ZWAVE_SENSORS
where the latter can be one hashmap with all sensors.