This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New OpenPlotter GPIO app available
#41
ops, that is a different issue.

please type in a terminal this command and send the output:


Code:
pip3 show w1thermsensor

what type of sensors do you have? this library is able to check the sensors type but yours do not seem to have that property
Reply
#42
Temp sensor type is: 3 @ DS18B20 This is what I bought. Was working perfect prior to recent re-install
https://www.amazon.ca/gp/product/B07DDHJ...UTF8&psc=1

Output of pip3 show w1thermsensor is:

Name: w1thermsensor
Version: 2.0.0
Summary: A Python package and CLI tool to work with w1 temperature sensors like DS1822, DS18S20 & DS18B20 on the Raspberry Pi, Beagle Bone and other devices.
Home-page: http://github.com/timofurrer/w1thermsensor
Author: Timo Furrer
Author-email: tuxtimo@gmail.com
License: MIT
Location: /usr/local/lib/python3.7/dist-packages
Requires: click
Required-by:
Reply
#43
For me the same sensor and output:

Code:
Name: w1thermsensor
Version: 2.0.0
Summary: A Python package and CLI tool to work with w1 temperature sensors like DS1822, DS18S20 & DS18B20 on the Raspberry Pi, Beagle Bone and other devices.
Home-page: http://github.com/timofurrer/w1thermsensor
Author: Timo Furrer
Author-email: tuxtimo@gmail.com
License: MIT
Location: /usr/local/lib/python3.7/dist-packages
Requires: click
Required-by:

Also tried this one:

Code:
pi@openplotter:~ $ w1thermsensor ls
Found 1 sensors:
 1. HWID: 01193a43c01e Type: DS18B20

Lists the sensor.
Reply
#44
We got it.
I was using w1thermsensor 1.3.0 and after updating to your version 2.0.0 I am getting this error too. It seems that this attribute has been removed Sad
I will fix this in the next version too.
thanks to both for your help!
Reply
#45
Great that you've found it! Looking forward to the fix Smile You are the best...

@Alulasails, if you need a quick temporary fix. In SignalK install the
signalk-raspberry-pi-1wire plugin.
Reply
#46
there is a quick fix:

Edit this file with sudo permissions: /usr/lib/python3/dist-packages/openplotterGpio/openplotterGpio.py
in line 375 replace:

Code:
type_name
by

Code:
type.name
and it should work
Reply
#47
(2021-02-22, 08:27 PM)Sailoog Wrote: there is a quick fix:

Edit this file with sudo permissions: /usr/lib/python3/dist-packages/openplotterGpio/openplotterGpio.py
in line 375 replace:

Code:
type_name
by

Code:
type.name
and it should work

Nice! Did the trick thank you!

Now just need to add the signalk sentence, didn't appear yet in the data browser but I'll play around with it.
Reply
#48
Application works, line is added. But for some reason the sentence is not added in SignalK.
Rebooted and everything, but it is just not appearing.
Any ideas?
Reply
#49
(2021-02-23, 10:53 AM)jamos.tan@gmail.com Wrote: Application works, line is added. But for some reason the sentence is not added in SignalK.
Rebooted and everything, but it is just not appearing.
Any ideas?
any error in signal k dashboard or log?
any error in system log?
can you test your sensors with the signal k plugin to check they work?
Reply
#50
SignalK plugin works.
I've removed the plugin just to be sure there is no conflict.
Which log do I check and how?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)