abaker / emu2influx Goto Github PK
View Code? Open in Web Editor NEWImport Rainforest Automation EMU-2 energy monitoring data into InfluxDB
License: Apache License 2.0
Import Rainforest Automation EMU-2 energy monitoring data into InfluxDB
License: Apache License 2.0
Could you share your sensor setup in the configuration.yaml?
Hi, Every time I run, after a few minutes, it hits that error and just completely stops running altogether. (I have to kill -9
the python2 process)
Any idea what it could be? Maybe some bad data comes in the serial once in a while and breaks it?
Running from direct command line on ubuntu, Python 2.7.17 (default, Jul 20 2020, 15:37:01)
Apart from that, the tool is perfect!
Traceback (most recent call last):
File "./emu2influx.py", line 127, in <module>
main(client=emu(args.serial_port), db=influx)
File "./emu2influx.py", line 65, in main
timestamp = get_timestamp(instantaneous_demand)
File "./emu2influx.py", line 16, in get_timestamp
return datetime.utcfromtimestamp(Y2K + int(obj.TimeStamp, 16)).isoformat()
TypeError: int() can't convert non-string with explicit base
You mention creating an influxDB sensor in the homeassistant config so that it can be used directly in the "What next" section/
Did you manage to do it? The syntax is all but clear, and I am not sure if I can create a sensor that reads from a different influx DB than the home_assistant
one (I chose to upload the demand values to a seprarate db.)
thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.