Use without MQTT and WiFi? #256
Replies: 3 comments 9 replies
-
Not out if the box, no. openHASP is concieved around MQTT as it is the mostly used and versatile Home Automation protocol. All commands are setup to pass through a dispatcher. This sends the input/output along to the other components, like MQTT. The debug output is just for troubleshooting. No effort has been made to make the output machine readable. Learning LVGL or maybe using 8ms.xyz might be a better fit for your project, but I haven't used the latter myself. |
Beta Was this translation helpful? Give feedback.
-
A nice solution would be if mqtt in and out could be replaced with serial in and out. |
Beta Was this translation helpful? Give feedback.
-
Thanks . Its interesting ! |
Beta Was this translation helpful? Give feedback.
-
Is it possible to use this without MQTT and WiFi? I am replacing the Mazda Commander in my 2015 Mazda 3 with a WT32-SC01 or similar. I want to avoid mosquitto, nodered and especially WiFi on my pi carputer if I can. I can use I2C, or SERIAL or? Instead of MQTT and WiFi. I can program whatever is needed on my end most likely but OpenHASP is kind of beyond my skill currently. I will be using it to provide media buttons with a local rotary encoder for volume/mute. Extended functionality to control relays and garage door hopefully.
I am already building out an arduino pro mini to connect almost everything control wise and plugging it into the pi as a keyboard to control Open Auto Pro. My DIY capacitive touch buttons for the LCD screen, the rotary encoder for volume, the steering wheel buttons etc. It is more of a collector of all controls and then fed into the pi with one connection and I would like to feed the output of my WT32-SC01 to this also.
I was thinking I can use the serial debugging with proper parsing for this? MQTT dirties it quite a bit though without a connection.
The WT32-SC01 has serial TX/RX btw :) at the debug lights that work otherwise the headers only have TX :( So this could work if I could figure out how to disable MQTT locally. Hoping there is already something built in someone can let me know about. I would have to run a second pi to use this with my use case as I need to give the output as a keyboard command and running mqtt and node red on the car pi will not allow this without some crazy programming sending it back out to the arduino anyway. I would like to keep the pi as offloaded as possible anyhow.
I would like to use this as it works on the WT32-SC01 very nicely, I am struggling to use LVGL directly on this and just build a static GUI against a communications library hence why I am trying to find a workaround for this and will eventually be using this in my house on HA anyway once I can figure out how to make it work over zigbee if possible instead of WiFi due to everything security being on UPS and batteries except wifi. Large house with multiple PoE Access Points. So I would like to learn it more anyway.
Beta Was this translation helpful? Give feedback.
All reactions