enasolar-py's People
enasolar-py's Issues
Convert this code to python 3
Hello,
I'm using this code for some time now succesfully on an SAJ solar inverter (using headless Ubuntu). After upgrading from Ubuntu 18 to Ubuntu 20, this script did not run due to incompatibilty with Python 3. I tried converting the code (using online converter). The code does not give errors on runtime anymore, but now just stops after starting. The logfile is set to debug and below is the output.
Hope you can help me. Thanks!
2021-08-17 22:10:37,685 INFO [saj_to_mqtt3] Starting SajSolar monitor
2021-08-17 22:10:37,685 INFO [saj_to_mqtt3] INFO MODE
2021-08-17 22:10:37,685 DEBUG [saj_to_mqtt3] DEBUG MODE
2021-08-17 22:10:37,747 INFO [base] Scheduler started
2021-08-17 22:10:37,748 DEBUG [base] Looking for jobs to run
2021-08-17 22:10:37,748 DEBUG [base] No jobs; waiting until a job is added
2021-08-17 22:10:37,860 INFO [base] Added job "request_meters" to job store "default"
2021-08-17 22:10:37,861 DEBUG [saj_to_mqtt3] Attempting connection to MQTT broker localhost:1883...
2021-08-17 22:10:37,861 DEBUG [base] Looking for jobs to run
2021-08-17 22:10:37,861 DEBUG [base] Next wakeup is due at 2021-08-17 22:11:07.859746+02:00 (in 29.997930 seconds)
2021-08-17 22:10:37,863 INFO [base] Scheduler has been shut down
2021-08-17 22:10:37,863 DEBUG [base] Looking for jobs to run
2021-08-17 22:10:37,864 DEBUG [base] No jobs; waiting until a job is added
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.