Yesterday, I have my opentherm gateway soldered and connected and everything works fine.
My next step is to put the generated data via PHP in a database (MySQL) from where I can created the graphs.
Before I go creating it myself, I am wondering if there might be someone who has already created a database model and some PHP code what I could use.
For example what I like to created (My site):
http://www.chamiri.nl/drupal7/
Put opentherm data into a database (MySQL) with PHP
Moderator: hvxl
Put opentherm data into a database (MySQL) with PHP
(domotica, arduino, MySQL, PHP, electronics)
http://www.chamiri.nl
http://www.chamiri.nl
Re: put opentherm data into a database (MySQL) with PHP
Not exactly, but I have a matlab script (two, actually) that dumps otgw log data into a struct (per day). Is easily converted to php.I am wondering if there might be someone who has already created a database model and some PHP code what I could use.
EDIT 20160103: parse_otmon_log.m had a bug, fixed.
grtz,
marcelr
- Attachments
-
- parse_otmon_log.m.zip
- Updated version. Small error in the calculation of OT floats fixed.
- (1.1 KiB) Downloaded 677 times
-
- read_ot_log.m.zip
- main routine
- (945 Bytes) Downloaded 679 times
Last edited by marcelr on Sun Jan 03, 2016 5:35 pm, edited 1 time in total.
Re: put opentherm data into a database (MySQL) with PHP
I just use a key value store, like for all my other metrics. Influxdb is perfect for storing timeseries.
Rene.
Re: put opentherm data into a database (MySQL) with PHP
Hi Rene,Rene wrote:I just use a key value store, like for all my other metrics. Influxdb is perfect for storing timeseries.
Influxdb looks very intressing, I will give it a try. thank for the tip.
(domotica, arduino, MySQL, PHP, electronics)
http://www.chamiri.nl
http://www.chamiri.nl
Re: put opentherm data into a database (MySQL) with PHP
I use MQTTwarn to perform some actions based on the MQTT output of OTMonitor
https://github.com/jpmens/mqttwarn
https://github.com/jpmens/mqttwarn
Running HS3PRO on PC with Z-Wave / OpenTherm / Plugwise / RFXcom / MQTT / XAP400 / Logitech Media Server and Squeezelite on PI`s
Re: put opentherm data into a database (MySQL) with PHP
Have a look at https://github.com/thoukydides/heatmiser-wifi
I modified his code to produce graphs on the opentherm data.
I modified his code to produce graphs on the opentherm data.