Git Product home page Git Product logo

emu2influx's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

emu2influx's Issues

[Python2] `int() Can't convert non-string with explicit base`

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

homeassistant/influxDB sensor example request

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.