Send multiple temperature updates at once

Moderator: leecollings

Post Reply
Overgaard
Posts: 2
Joined: Monday 04 January 2016 11:42
Target OS: Linux
Domoticz version:
Contact:

Send multiple temperature updates at once

Post by Overgaard »

I have some sensors that transmit temperature to the receiver once every hour. It the sends the last four measurements (so it will measure every 15 min, but send data only every hour)

The receiver gives me the data via a serial port.

Problem: How to I get the data into Domoticz? If I, for example, get one transmission at 15:00, I need to store the four temperatures for 14:15, 14:30, 14:45, 15:00.

Is there any API to attach the timestamp (the json one does not seem to)?

I guess i could just insert the data into the Sqlite-database, but that means shutting down Domoticz, inserting data and starting Domoticz again. Not good!

Suggestions?

Regards
Jörgen
User avatar
bbqkees
Posts: 407
Joined: Sunday 17 August 2014 21:01
Target OS: Linux
Domoticz version: 4.1x
Location: The Netherlands
Contact:

Re: Send multiple temperature updates at once

Post by bbqkees »

The simple option here would be to send only one value per hour.
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
Overgaard
Posts: 2
Joined: Monday 04 January 2016 11:42
Target OS: Linux
Domoticz version:
Contact:

Re: Send multiple temperature updates at once

Post by Overgaard »

Yes, I am thinking about doing that :D, for now, until I find some way of getting all the values into Domoticz.
I might have a look at the source code of Domoticz and see if I can add this ability.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests