Closed petersturrock closed 8 months ago
Sorry about the delay. By saying allow control of the TRVs using external temperature sensors. I can list two scenario below:
First one is feasible and supported in iHost. But the second one is not. Because TRVs is not supported in node-red yet.
Thanks for the follow up.
Ideally I'd like to do (2) so I can have all the logic in Node Red and set the temperatures on TRVs based on various sensors I have installed in Node Red.
(1) might help with some logic that I need. I have successfully registered a virtual temp sensor with 'Register Device'. But I'm currently having difficulty setting the temperture using the 'Put Device State'. I'm getting a 'not properly configured' error when I select the virtual temp sensor.
Should the put node allow me to change the value of the virtual temp sensor?
Can you send me a screenshot of your virtual device node configuration so I can pinpoint the problem?
This is my latest attempt. The device is created but I can't create a valid 'Put Device State' node to set and change the values. I first tried to create a temperature only sensor but wasn't able to use 'Device Initial State' to initialise the values.
Please post your put-device-state node configuration as well.
I tried to register a virtual temperature sensor and reproduce the problem. Here are some results.
Use 'Device Innitial State' to initialise the temperature:
Use 'Put Device State' node to change temperature:
Both of them working pretty well. Please double check your configuration with mine.
I've recreated the above and added the JSON for the initial state and inject. It works and updates the temperature but I always get a red triangle in the put-device-state and an error during the deploy
It's a known bug but won't affect any of your node's behavior besides warning. We'll fix it in next version of node-red-contrib-ewelink-cube.
Thanks for the investigation on this. Do you know if the control device node will be upgraded to allow TRV control ?
TRV will be supported in the end of next month.
First of all, many thanks for this repo. It's let me create some heating control logic that I can't achieve in iHost.
Is it possible to add control device logic to allow control of the Sonoff TRVs? This should allow control of the TRVs using external temperature sensors.