You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you very much for your effort to write this wrapper.
I explain briefly my use case:
I'm running a single Tag Manager with several (ALS PRO) sensors spread over my test location. To save battery power, I set the sensors to transmit multiple points at a time.
So, the recording of the values is done every minute by each sensor but they are backposted only every now and then (around 10 minutes) to the tag manager/internet.
I have a RPi running your python script every X hours and the idea is to read the minute data from every sensor in the last X hours and post the values on my database (InfluxDB).
I am successfully able only to read the last data for each sensor and I'm using last_load_time to know when that happen for (uuid, tag) in tags.items(): print('environment,sensor={} temperature={:.1f},humidity={:.1f},light={:.0f},batteryVolt={:.2f},batteryLevel={:.0f},signal={:.0f} {:.0f}'.format(tag.name, tag.temperature, tag.humidity, tag.light, tag.battery_volts, tag.battery_remaining*100, tag.signal_strength, tag.last_load_time.timestamp()))
Unfortunately, I don't know how to read the other values (namely since the last time I run the script which is since the X hours). I had a look here http://wirelesstag.net/ethLogs.asmx but I'm a bit lost.
Could you help me? I hope it's clear enough .
Thanks in advance,
Alex
The text was updated successfully, but these errors were encountered:
@simbalsyd
Unfortunately not. Also, support from the manufacturer is known to be not really prompt.
At the end, we basically stopped to use this product due to very unstable connection between the tags and the gateway so I've stopped to look for a solution to this issue.
Hello there,
Thank you very much for your effort to write this wrapper.
I explain briefly my use case:
I'm running a single Tag Manager with several (ALS PRO) sensors spread over my test location. To save battery power, I set the sensors to transmit multiple points at a time.
So, the recording of the values is done every minute by each sensor but they are backposted only every now and then (around 10 minutes) to the tag manager/internet.
I have a RPi running your python script every X hours and the idea is to read the minute data from every sensor in the last X hours and post the values on my database (InfluxDB).
I am successfully able only to read the last data for each sensor and I'm using last_load_time to know when that happen
for (uuid, tag) in tags.items():
print('environment,sensor={} temperature={:.1f},humidity={:.1f},light={:.0f},batteryVolt={:.2f},batteryLevel={:.0f},signal={:.0f} {:.0f}'.format(tag.name, tag.temperature, tag.humidity, tag.light, tag.battery_volts, tag.battery_remaining*100, tag.signal_strength, tag.last_load_time.timestamp()))
Unfortunately, I don't know how to read the other values (namely since the last time I run the script which is since the X hours). I had a look here http://wirelesstag.net/ethLogs.asmx but I'm a bit lost.
Could you help me? I hope it's clear enough .
Thanks in advance,
Alex
The text was updated successfully, but these errors were encountered: