Announcement
Collapse
No announcement yet.
Setting virtual device values
Collapse
X
-
I'm a novice for writing a script to send UDP messages on my network, haven't used MQTT nor Big5. Does anyone have a sense of which might get me up and running to control and receive status data from my bigass fans? Would love to avoid buying additional hardware, but I can't tell if any of these methods require hardware. Would appreciate any help or guidance.
-
I am, once I got the MQTT payload setup it has just worked. Not sure about Big5, I have not looked into it.
Leave a comment:
-
Originally posted by chewie View Post
I agree Jon, however after spending a day trying to get that working (I am not much of a programmer and do not really know Python) I found the MQTT package and was able to get that up and running in just about an hour.
Are you still using this method? I just installed a Haiku fan as well and have some basic success with sending commands using the Big5 plugin.
Leave a comment:
-
Originally posted by jon00 View PostIt may be easier just to control the fan directly:
https://bruce.pennypacker.org/2015/0...-with-senseme/
It would just need a simple script to send UDP messages on your network.
Leave a comment:
-
Originally posted by Uncle Michael View PostCan you expand on this statement a bit? Are you looking for a way to set a virtual device value to a number, or a way to generate the entire MQTT payload when the device value changes?
Leave a comment:
-
It may be easier just to control the fan directly:
https://bruce.pennypacker.org/2015/0...-with-senseme/
It would just need a simple script to send UDP messages on your network.
Leave a comment:
-
Originally posted by chewie View PostWhat I am trying to do now is setup a virtual device that can be set to the values 1-7 such that whenever it is set to one of those it appends the value of the virtual device to the MQTT topic as the payload.
Leave a comment:
-
Setting virtual device values
I was not really sure how to name this topic, but let me describe what I am trying to do. I have a Haiku L-series fan in my bedroom (Which is an amazing fan for anyone interested) that can be "controlled by smart home devices." What that really means is that it can be controlled by Alexa and I want to integrate it into HS.
To do this I have configured a module someone wrote that translates MQTT commands into the Haiku API protocol and I have setup mcsMQTT on HS to send the commands to my MQTT broker.
What I am trying to do now is setup a virtual device that can be set to the values 1-7 such that whenever it is set to one of those it appends the value of the virtual device to the MQTT topic as the payload.
I am thinking the only way I am going to be able to do this is with some scripting, but I thought I would throw it out and see what the collective could come up with.
Any thoughts on how to create/set the device values here to achieve what i am trying to do?
Thanks in advance guys!Tags: None
Leave a comment: