HomeGenie Forum
Automation Program Plugins and Wizard Scripting => Help => Topic started by: StatX on January 09, 2015, 09:47:22 PM
-
Hi there,
I've made a communication betwean Arduino and my PC running arduino ( tomorrow i will try to di it with Rpi ) i am sending data ( Pressure, Humidity and 2 temperatures ). Is there any way to show those values on dashboard in some nice widget ? I didnt find anything to solve my problem.
Thank You in advance.
-
I have no idea how to build widgets yet, but I know the DHT11/DHT22 code includes a widget to display the temperature/humidity in the interface. Perhaps that would get you 90% of the way there?
-
yes i know that widget i also was able to make it working but its not my intention to connect sensors directly to Rpi i want to use Arduino and send data by UART to Rpi with HG.
-
I wasn't suggesting you use the widget directly. I was suggesting that you could use the widget as a base for your new widget.
-
ok i miss understood i will try it
-
I want to do this as well. I got my arduino sending temperature data to the HG serial helper (running on pc). Now I would like to display this on homepage, even better with a graph. Long term I would like a big graph showing temp and status of various arduino sensors over past 24 hours.
Eventually I want to get my arduino networked but my ethernet shield does not seem to work :-( So I tried with serial connection and quickly see the data popping up as notifications in HG.
If I want to create an arduino module, do I have to extend the SerialPort class somehow? I tried renaming the SerialPort to Arduino, and "Arduino" is not recognized.
Thanks!
-
Since this question was originally posted, Gene has added a widget editor into the main HG web interface. I have not updated yet, but I believe it's pretty close to the tool Gene shared on the HomeGenie.it page. I think it would be pretty helpful in the OP's goal of adding a widget if it were based on the DHT11/22 widget since it could be duplicated and modified.