Comments (14)
Hi,
I have not be able to test with a shinelan but at first sight the record is the same and should not give a problem.
The record is not encrypted and the offset of the data is 6 (default).
The program should be able to detect your values with the following config:
inverterid = QKB290929E
decrypt = False
minrecl = 100
compat = False
valueoffset = 6
(last valueoffset is not important while if compat=False the offset is set to 6 by default).
Can you try it with this values and if that is not working send me the output (from the system journal if you run it as a service).
I expect at least that your inverter is recognized because it is in the data. If that is the case and the values are not as expected then the offset has to be changed.
To be honest I have not been able tot test the code with decrypt = False (I only have one growatt and he sends encrypted data) so there might be a code issue.
If this is the case we can try to fix it :)
from grott.
I ran the python script with decrypt and compat disabled but now the script crashes, see attached log:
Apr 01 11:07:16 rpi1b grott[1866]: File "/home/pi/grott/grott.py", line 238, in main
Apr 01 11:07:16 rpi1b grott[1866]: if(result_string.find(SN) > -1):
Apr 01 11:07:16 rpi1b grott[1866]: AttributeError: 'list' object has no attribute 'find'
It would be very nice if we can fix this and add ShineLan support :)
from grott.
Hi Wilco,
Thank you for the information. I think I found the problem and will upload a new version of the program.
This is the output I see now from your information:
- Growatt unscrambled data processed for: QKB290929E
- Growatt unscrambled data:
- Growatt processing values for: QKB290929E
- pvserial: QKB290929E
- pvstatus: 1
- pvpowerout: 128.0
- pvenergytoday: 0.1
- pvenergytotal: 2346.4
- pv1watt: 142.2
- pv2watt: 0.0
- pvfrequentie: 49.97
- pvgridvoltage: 227.7
Is this the informaton you expected?
from grott.
Hi Johan,
The information looks valid! Thanks, can't wait to to use grott:)
from grott.
I uploaded the changed grott.py (version 1.0.7)
Please let me know if this works. I am very curious.
from grott.
Thanks for the fast new release. Unfortunately I get another error with the new version:
Traceback (most recent call last):
File "grott.py", line 425, in
main()
File "grott.py", line 254, in main
result_string = message.hex();
AttributeError: 'list' object has no attribute 'hex'
from grott.
Oeps sorry, used a wrong data format with my tests. Hope I solved it now.
I wil add temporary grott108.py to the repository. Can you please test this one?
Thanky you for testing!
from grott.
It worked! But the script exited after: Growatt unscrambled data processed for: QKB290929E
The 'break' on line 276 has to be removed, after I do that the script keeps running and sends the data to MQTT :)
from grott.
from grott.
Which growatt inveter do you use?
If it all works fine I can add it as tested to the documentation.
from grott.
A Growatt 3000-S with ShineLan stick.
Maybe you can also add enabling IPv4 forwarding in the kernel to the documentation? I had to set net.ipv4.ip_forward to 1 in /etc/sysctl.conf on Raspbian
from grott.
Thanks! I will at this to the Wiki,
from grott.
Do you agree this issue can be closed?
from grott.
yes it works great, thanks!
from grott.
Related Issues (20)
- Negative temperatures return 65.535-ish HOT 10
- How to confirm MQTT, Influx and PVOutput is working? HOT 10
- No data PV2, only PV1 - values not correct HOT 6
- Encoding of messages from ShineWifi HOT 1
- Intermittent dropouts in influx recordings HOT 20
- How can I achieve fallback in case of Grott goes down HOT 9
- Grott cannot process the incoming data from the datalogger HOT 1
- HA receiving MQTT data from grott, but not processing it? HOT 1
- Old value messing up data HOT 1
- T06NNNNXTL3 not strict enough HOT 5
- Zero values after Inverter goes offline HOT 8
- PV3 and SPM Meter data are missing on Growatt MIN 10000TL-X configuration HOT 1
- Debug grott container HOT 3
- BMS error 304 HOT 3
- Add license information HOT 2
- Wrong device ID : Xxxxxxxxx HOT 1
- Can I pay one of you to set me up?
- Is there a reason, that 2.7.8 ist still the lasted release? HOT 12
- Password datalogger setting page HOT 1
- Allow domain name in InfluxDB setting
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 grott.