Git Product home page Git Product logo

Comments (4)

nrocco avatar nrocco commented on September 28, 2024

Hi @reset12,

I notice I have similar errors after a fresh pip install smeterd in a python 2.7 based virtualenv.
I am investigating why this happens.

from smeterd.

nrocco avatar nrocco commented on September 28, 2024

I just fixed the issue. The problem was how the .tar.gz was created for uploading to pypi.

I have just created and uploaded a new version 2.6.1 to pypi. It may take a while before your pip picks it up.

Apologies for the inconvenience and thanks for submitting this issue.

from smeterd.

reset12 avatar reset12 commented on September 28, 2024

Hello,
i have now installed the new Version smeterd 2.7.1

root@raspi-Stetten:/home/hugo# cat /dev/ttyUSB0
root@raspi-Stetten:/home/hugo# stty -F /dev/ttyUSB0 1:0:8bd:0:3:1c:7f:15:4:5:1:0:11:13:1a:0:12:f:17:16:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0
root@raspi-Stetten:/home/hugo# cat /dev/ttyUSB0
N
\�Fbbrc�D�
EMH�!c��v
\�Gbbrcw
EMH
�!b
��rbe��ww��ǂ�EMHw �
EMH�!�d�bR�V����bR�V����bR�Vw�b�U�w��ǂ�rbe����
u
����?�l}�
c��v#�1�N���=����]#�d'
\�Jbbrcqc�q▒ͥ
\�Lbbrc�D�
EMH�!ct�v
\�Mbbrcw
EMH
�!b
��rbe��!ww��ǂ�EMHw �
EMH�!�d�bR�V����bR�V����bR�Vw�b�U�w��ǂ�rbe��!��
u
����?�l}�
c��v#�1�N���=����]#�d'
\�Pbbrcqc/▒з^C
root@raspi-Stetten:/home/hugo# smeterd -v read-meter
[2016-12-12 07:24:35,151] INFO New serial connection opened to /dev/ttyUSB0
[2016-12-12 07:24:35,156] INFO Start reading lines

The smeterd doesnt read any information.

When i try it with stty and cat, the sensor gives response.

Do you have any hints for me ?

with regards
Bruno

from smeterd.

nrocco avatar nrocco commented on September 28, 2024

@reset12 it looks to me that you need to play around with the --serial command line options. Are you sure that you are using the correct baudrate, parity, bits etc for the serial connection for you meter?

from smeterd.

Related Issues (16)

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.