Jump to content

Recommended Posts

Posted

Currently i am working on a smart controlling device. The main functionality is the comparison of temperatures from the sensors that provoke a certain action eg:

  • if sensor(1) > sensor(2) => output(0) ON
  • if sensor(0) - sensor(1) <= 5 => output(1) OFF
  • ... (some other 5 or 6 required)

I could do all this in a smarthome system, but my controller is critical and needs to run even without internet or wifi or a server. It is required that the device runs autonomous.

As far as i can see (and other users confirm) it is not possible to compare sensors in "Actions" - so a Script is required. But in my special case this is "sub-optimal", because i need to change some details in the different actions according to some experience values. Changes in a complex script might cause consequential errors - and it is much easier to add additional rules/actions if i don't have to update a script (eg for certain error situations that i do not see now).

So what I need for upcoming christmas is an information (or a firmware update) on two issues:

  • compare sensors in "actions"
  • generate any sort of "message" in "Actions" that is shown on the shelly UI itself (and can be read out by a smarthome system) - eg: "Sensor(3) unavailable". In a script i can do this with a debugging statement, but I don't see a way to realize it in "Actions"

 

 

  • 2 weeks later...
Posted
On 18.11.2024 at 12:47, Shellist said:
  • generate any sort of "message" in "Actions" that is shown on the shelly UI itself (and can be read out by a smarthome system) - eg: "Sensor(3) unavailable". In a script i can do this with a debugging statement, but I don't see a way to realize it in "Actions"

 

Stupid me! Just store Messages in the KVS and they are readable on the UI as well as in the smarthome system. Sorry, I am learning more and more every day. 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...