fss / solis-inverter Goto Github PK
View Code? Open in Web Editor NEWA simple NodeJS application to read Solis PV inverter data using HTTP interface
A simple NodeJS application to read Solis PV inverter data using HTTP interface
Hi! can you tell me if it works for you to set the interval to something else rather than the 30 seconds default? I could not get it to work using the INTERVAL command, also my solis is updating it's values every 60 seconds and not the 30 seconds default option, does someone have any clue of why this is happening?
On run on my raspberry pi, I get:
`module.js:549
throw err;
^
Error: Cannot find module 'axios'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (/home/pi/PROJECTS/SOLIS_INVERTER/solis-inverter-master/lib/solis_inverter_client.js:1:77)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)`
even thou I can get a packge with wget:
`wget https://registry.npmjs.org/axios/-/axios-0.21.1.tgz
--2021-06-18 11:23:41-- https://registry.npmjs.org/axios/-/axios-0.21.1.tgz
Resolving registry.npmjs.org (registry.npmjs.org)... 104.16.22.35, 104.16.16.35, 104.16.17.35, ...
Connecting to registry.npmjs.org (registry.npmjs.org)|104.16.22.35|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 95962 (94K) [application/octet-stream]
Saving to: ‘axios-0.21.1.tgz’
axios-0.21.1.tgz 100%[=============================================================================================================>] 93.71K --.-KB/s in 0.007s
2021-06-18 11:23:41 (12.2 MB/s) - ‘axios-0.21.1.tgz’ saved [95962/95962]`
Hi There,
Any advice on what to use as the username/password - or where to find them please?
I have looked through the inverter device ui but cant see where this is set anywhere.
Any help greatly appreciated
Dave
Hi, I just want to see if anyone knows how to integrate the solis-inverter output to Home Assistant, to be able to read it's values. I have the following json output:
{"lastSeen":1605035609563,"inverter":{"model":"00B7",,"firmwareMain":"003A","firmwareSlave":"001B"},"logger":{,"version":"MW_08_512_0501_1.80","mode":"STA","ap":{"ssid":"AP_724118333","ip":"10.10.100.254",},"sta":{"ssid":"Home","ip":"192.168.1.48","rssi":"42%"}},"remoteServer":{"a":true,"b":false},"power":2626,"energy":{"today":32,"total":647}}
But I don't know how I can make a sensor in Home Assistant that would read for instance the "power" value.
Any help it's appreciated.
Thanks
My inverter does not output data for firmwareMain
and firewareSlave
so following condition tests false.
Line 56 in a3aa0bd
Hi! I am trying to use your script but I get the error Address not given. Here is my command:
node index.js --address 192.168.1.48 --username admin --password admin --port 10000
Do you have an idea of what might be happening?
This is my inverter
Firmware version (main)003A
Firmware version (slave)001B
Inverter model00B
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.