-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reading logger gives struct.error #36
Comments
Not sure what has changed (other than a lot more data points) but the script ran fine this morning. |
I now have the same problem... I reinitialized on a windows computer and it seems to work fine....
|
I have the same problem, I used to be able to download data from RC5 with elitech-datareader command.
|
Mine stopped working after using the windows software that you can download from the elitech site. Perhaps it updates the reader somehow. Now it only works with their software on windows. |
Everything was working well last week under Ubuntu 20.04, now this happens with a week's worth of data (325 log entries):
No huge changes that I can think of to have created this issue. I've popped the battery on the logger (RC-5), tried a simple-set etc with same error message, but the error persists. Any ideas would be greatly appreciated, thanks! |
@PhilipPlant, you can try the windows software from the website. |
Hello,
Any ideas what has changed to cause this issue? Many thanks, |
I think it's an "incompatibility" with the pyserial package - the interface name was not properly called:
Replace EDIT: False Alarm. It's still shaky. I wonder if accessing the port via PHP might yield different results (is it the port, or is it the implementation...) Sigh. |
Hello tictactux, |
Hi Stuart,
I tried the same under some Debian where it worked, and on FreeBSD (on the
very same PC) and I got no result. Same via cutecom, so I start to think
it's the usb-serial kernel module for that specific uart that is acting
up...
Best, Ben
Stuart Grange ***@***.***> schrieb am Fr., 5. Nov. 2021,
15:55:
… Hello tictactux,
I was just looking at this and made the change, purged the old version,
and installed the updated package version. Like you have added in your
edit, the same issue remains. I might have to do some digging!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#36 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AWLMNMG6JV7634273L5GNGLUKPV4LANCNFSM4GRHSZNQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
I checked RC-4 on ubuntu 20.04. It works well. What device did you all use? RC-4/5? (NOTICE RC-5+ *Plus* doesn't work)
I already have ElitechLog Win v6.1.0. After using the ElitechLog, the elitech-datareader still worked well. |
I have V1.3 of the firmware, Version V6.2.0 of the software |
I have Software 6.2 and Firmware 1.3.
Best, Ben
Björn Johansson ***@***.***> schrieb am Mi., 10. Nov. 2021,
11:48:
… [image: 2021-11-10]
<https://user-images.githubusercontent.com/9726401/141099694-d5c973e3-dfe7-4309-8eb9-3df21a5d8f8e.jpg>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#36 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AWLMNMFKZ34TB643XRWU2M3ULJEZVANCNFSM4GRHSZNQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Thank you for your information. Is the device RC-4? Mine is RC-4. |
no, mine is RC-5 (the non-plus version)
Best, Ben
civic ***@***.***> schrieb am Do., 11. Nov. 2021, 02:34:
… Thank you for your information. Is the device RC-4? Mine is RC-4.
If your devices are RC-4, I will update my firmware to v1.3 and try to
check whether the same problem will happen.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#36 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AWLMNMCPR2PKFSYGDW5XZIDULMMSFANCNFSM4GRHSZNQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Mine is RC-5 as well, not the plus version. |
It might update it when you feed the logger with new parameters. I remember
that mine was V1.0, and some time after setting time and interval it was
1.3... I did not update the firmware knowingly.
Best, Ben.
civic ***@***.***> schrieb am Fr., 12. Nov. 2021, 04:51:
… Thank you, I also have RC-5. but my RC-5 firmware version is V1.1.
[image: image]
<https://user-images.githubusercontent.com/1195981/141401037-0a392264-f63f-499d-888d-02ce912f837c.png>
I updated windows software ElitechLog Win to v6.2.0. After setting up RC-5
by using the software, the firmware version was not updated. It is still
V1.1. I tried command devinfo on the python program, it worked well.
I don't know how to update the firmware.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#36 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AWLMNMFHIA4IL3V5JXEEEBDULSFMZANCNFSM4GRHSZNQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Hello all, I'm considering writing a native Linux kernel module for the Elitech devices, particularly since this repo seems not to be developed any more and also doesn't support the RC-5+ device. However, it would greatly help me first to understand your preference to using the python script on the Linux terminal, over and above either the Windows or Mac software provided here: http://www.elitechlog.com/softwares/ Additionally, is there anything majorly missing from the current python script that you'd welcome seeing? Thanks, |
@FrankRay78 thanks for picking this up. My use case is simply extracting to csv for further processing on linux. |
I haven't used my loggers much recently for a multitude of reasons but I was using this api to automate data collection. Collecting via the windows app requires a lot of manual interaction. |
I'll keep this in mind @stretch4x4 as something worth adding. I might actually just port the current python script over to C/C# to begin with, languages I know well so that I can consider making changes like this and adding in the RC5+ support. It should then be an easier migration path into a proper kernel module from there. |
RC-5+ is totally different. so I couldn't research the messages. If the device worked as a serial communication device, I would have improved the software more. |
A seriously good piece of software you developed here @civic - really excellent work btw. |
I am getting the following traceback when trying to read one of my dataloggers currently. I think I have seen similar previously but usually rerunning my script solves it. However, the same logger fails on both get_data() and get_devinfo() currently repeatedly.
Not sure if a newer version of pyserial would help as it seems quite old?
If there is any other information I can provide to help debug this, let me now.
The text was updated successfully, but these errors were encountered: