Dev corner

Calling all engineers, tinkerers, hackers and geeks.

Merry Christmas 2020

Hello all,
also in this year, that is really weird and as such just to be forgotten by history, to all you Fluksonians out there a Merry Christmas and Happy New Year 2021 that should be different, not to say better...
Kind regards, and keep up the spirit Icarus75
Markus

Sadly the elektro:camp closed also this year, but different times seem to require different formats...

No tmpo storage on internet blackout

Strange things happen. On Oct. 15 around 22:00 to Oct 16 around 09:00 internet went offline due to an issue with my cable provider. In this time span no tmpo data was transmitted to the flukso site. Interestingly also local tmpo registering stopped. I thought local storage was not affected by a loss of internet connectivity, yet it seems this is not true. Or may this be a matter of the DNS/DHCP server being affected as well? Shouldn't local storage work either locally or on 127.0.0.1?
Questions over questions. At least an issue to take a closer look on.
This happened on my FLM2 as my FLM3 is currently not in use due to restricted space on the switchboard.

read tmpo sqlite data correct / export

Hi,

I am running the tmpo python script to retrive some older flukso data.
The plan is to have that older "day" data in my mysql database again.

I was able to sync the tmpo data into that .sqlite3 tables, but then i am a bit stuck.
The .series commands don't return me the data i was hoping to get as a response. The console only shows a snippet of the data, and i did not find a way to export the data to an json, csv or something else.

Hope someone can help me a bit.
Thx!

Retrieve history day values

How can i retrieve the day data sinds the start?
Using the api i was only able to do this from the last year only.

MQTT not working anymore?

I did today some upgrades on my servers, and after these updates, it seems that MQTT is no longer connecting? Anybody else have problems with the latest clients?
I've tested this with 2 servers (latest apt installations of mosquitto).
Connection from the flukso itself is working.

mosquitto_sub -h fluksoIP -p 1883 -v -t /sensor/#
>>> it hangs

mosquitto_sub -h 127.0.0.1 -p 1883 -v -t /sensor/#
/sensor/52f5c63cc4221fbbedcb499908a0a823/gauge [1576002731,1085,"W"]
/sensor/52f5c63cc4221fbbedcb499908a0a823/counter [1576002731,36893549,"Wh"]
/sensor/3d6e4422977869dcd01dc1fc5e09d447/counter [1576002670,597279,"L"]
/sensor/3d6e4422977869dcd01dc1fc5e09d447/gauge [1576002670,282,"L/day"]
/sensor/52f5c63cc4221fbbedcb499908a0a823/gauge [1576002732,1079,"W"]

Any idea?