Comments (2)
Ok, found out that when changing the next line (#104 in semp-rtu.py) with full path this error is solved
argparser.add_argument("-c", "--config", type=str, default="/home/openhabian/shared/solaredge_meterproxy/semp-rtu.conf")
But in some way running the script as a service, the serial port is not accessable
2022-11-18 17:57:36 INFO: Starting <Thread(t_update_2, started 3035092032)>
2022-11-18 17:57:36 DEBUG: Using selector: EpollSelector
2022-11-18 17:57:36 DEBUG: Exception while create - name 'create_serial_connection' is not defined
also following is generating same error
sudo python3 /home/openhabian/shared/solaredge_meterproxy/semp-rtu.py
without sudo is working fine
python3 /home/openhabian/shared/solaredge_meterproxy/semp-rtu.py
from solaredge_meterproxy.
Found another solution by using crontab...and this is working :D
@reboot sleep 30 && /home/openhabian/shared/solaredge_meterproxy/semp-rtu.py
I added a delay to be sure that reboot is finished before starting the script
from solaredge_meterproxy.
Related Issues (19)
- KeyError 'meter1' HOT 16
- Integrate DSMR smart meter HOT 1
- SDM630 and missing values HOT 3
- Support Iammeter WEM3080T HOT 21
- Question: feed values from API to inverter? HOT 5
- "DEBUG: Frame check failed, ignoring!!" on SE6K and SDM630 V2 HOT 8
- What / where to feed the kWh imported and exported HOT 11
- Timeout error HOT 35
- ModuleNotFoundError: No module named 'pymodbus.server.sync' HOT 2
- Struggling to get values from mqtt HOT 6
- how to setup
- semp-tcp.py issue HOT 2
- Question: run the script on RPI in background HOT 10
- semp-tcp.py integer error for port number HOT 80
- QUESTION: MQTT integration HOT 1
- Difference in exported power HOT 10
- No values reported HOT 32
- No success with StorEdge SE7K-RWS48BNN4 and SDM630MCT-RC + 3pcsESCT-RC100 HOT 26
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.
from solaredge_meterproxy.