HomeGenie Forum

General Category => Troubleshooting and Support => Topic started by: Solar_Man on November 29, 2016, 10:35:46 PM

Title: My RS-485 I/O control board
Post by: Solar_Man on November 29, 2016, 10:35:46 PM
I thought I would do a quick post to possibly save myself from reinventing the wheel. I have HG on a Raspberry Pi3. I have a board I've made with RS-485 serial and RPC type commands. It has 8 thermistor inputs, 8 digital outputs and 8 digital inputs. I plan to use this PCB to control a solar hot water system with solar collectors and wood stove coils to heat water in the reservoir to be used for domestic hot water and to circulate through radiant floors. Commands are in the form of "/out1/write 1/" (turns on output 1), "/g_t1/read f/" (reads and returns (float) Temp in F), etc.

I like the widgets and Thermostats and would like to use them but can't see a quick way incorporate my board. Commands are simple, port or address = /dev/ttyACM0 and command = "/input1/read/". I used one of your serial examples and it does command the board nicely, but how to use with the thermostats and other nice widgets?

Thanking you in advance for kind consideration!