Comments (2)
Hi. Just flashed my wifi stick for first time as well, but managed to recreate your problem because my MQTT server requires authentication, and so the line
if (MqttClient.connect("Growatt", MQTT_TOPIC, 1, 1, "{"Status": "Disconnected" }"))
needed to be replaced with
if (MqttClient.connect("Growatt", "mqttusernm", "mqttpassword", MQTT_TOPIC, 1, 1, "{"Status": "Disconnected" }"))
At which point once compiled the web server springs into life. (obvious mqttusernm and mqttpassword would be whatever your user/pass are set to in MQTT. Hope that's the same as your issue and it fixes it. Please say if it does. Obviously I would suggest that long term a variable should be used and put in a nicer place in the file.
from openinvertergateway.
hi @JonEllis1234
you kicked me into the right direction. Until today I didnt realize, that a running mqtt-server is necessary for this to run. I had in mind to just grep the necessary information by the built-in json-frontend. Fortunately my whole setup @ home is built up in node-red so it was not a real task to get a mqtt-server running. And see, the website is coming right up after mqttserver says "one client connected". Thanks for your help!
BTW, I first tried to get mqtt out of the way by setting MQTT_SUPPORTED to 0, but it seems this variable is not honored, as the sketch is throwing variuos errors concerning the mqtt-packetsize and so on. Commenting out was also not really successful, so setting up the mqtt-server was the better way :)
Thx again, smooth thing here
Julius
from openinvertergateway.
Related Issues (20)
- Will it work with the 3000 TL LVM-48p HOT 2
- Add MQTT command to get firmware version HOT 1
- no data from inverter HOT 4
- PV energy at night / home assistant HOT 3
- SPH 8000TL3 BH-UP without PV strings | Error: Unkown Shine Stick HOT 1
- Add Possibility to update the firmware when connected to an AP HOT 1
- Error: Unknown Shine Stick HOT 9
- Unable to set MQTT broker HOT 1
- Huge first value HOT 3
- WiFi reconnection failure HOT 1
- Which EEPROM.h use for this? HOT 2
- Only precompiled release 1.0.0 works with Shine X HOT 1
- Strange values for TodayGenerateEnergy HOT 7
- Original Firmware
- Battery Status not available with Growatt mod 9000tl3-xh HOT 2
- Protocoll Error in Mosquitto HOT 3
- Suport shine Wifi-F (the big old white) that you need for all GROWATT SPF Series HOT 4
- How can i change the Modbus Protocol? HOT 1
- modbus - RTU over TCP - iobroker HOT 1
- Can't get any data from 10KTL3-X inverter. HOT 2
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 openinvertergateway.