Comments (22)
https://github.com/dr-ni/mi600.git
from 123solar.
Hi,
You can check how to do so .
If you have problem can provide raw data returned by your app ? First query should return all "yourprotocol.php" values, second _startup.php values, and third _check.php values.
username and password shall be passed via "Communication options"
from 123solar.
The script mi600 can only supply the above mentioned three values:
webdata_now_p
webdata_today_e
webdata_total_e
It's returning all results as string.
Other neccessary values should possibly delivered as a fixed dummy.
Can you add an example protocol that is only feeded with neccessary fixed dummy values?
I've tried to modify solarlog.php but was not working only the test in the Inverter section wored.
from 123solar.
Have now started my own dummy example:
example.php.txt
example_checks.php.txt
example_startup.php.txt
is this correct?
The power seems to jump and nothing is logged?
from 123solar.
I need all data value return by your app with explanation
from 123solar.
my app can get these solar grid-sided values (one phase):
- webdata_now_p: actual solar power (feeding to grid)
command:
/usr/local/bin/mi600 solariv admin myPasswd webdata_now_p
answer string:
421 W
- webdata_today_e: cumulative daily solar energy (daily feeded until now to grid)
command:
/usr/local/bin/mi600 solariv admin myPasswd webdata_today_e
answer string:
2.83 kWh
- webdata_total_e: cumulative total solar energy (feeded until now to grid)
command:
/usr/local/bin/mi600 solariv admin myPasswd webdata_total_e
answer string:
187 kWh
from 123solar.
Your total kWh counter isn't precise enough => KWHT is the total counter (a Wh precision is needed)
So it is useless to write a protocol for that one, 123s ain't suitable unless you can have more precision
from 123solar.
We do'nt need these counters. We can count the webdata_now_p
from 123solar.
even though you'll miss some data but that's not that important.
You need to have 3 digits behind the comma (2.83x) can you do so ?
from 123solar.
I could supply wh precision why is this precision needed?
from 123solar.
Graph avg power is calculated from that
from 123solar.
what is missing in my dummy example?
from 123solar.
all cmd request ;)
Please read carefully the wiki all is explained
from 123solar.
can I also use dummy values for that?
where do I have to add the cmd dummys?
from 123solar.
something like that
from 123solar.
Ok seems to be working. I'll test it a few days and will then integrate the new counter and all the mi600 bash stuff and curl call into a mi600.php so that your 123Solar logger can fetch all data from the Bosswerk Inverter without any additional app
from 123solar.
Great, keep me inform
from 123solar.
Have now started to hack in my mi600 protocol:
https://github.com/dr-ni/123solar_mi600/blob/main/scripts/protocols/mi600-webif.php
How should I write to DEBUG and how can I throw a not connected alarm which is visible in the UI?
from 123solar.
looks good.
Normal debug is 2> (stderr), that won't throw things in the UI (stdout for normal output)
from 123solar.
You can also put
if ($DEBUG) {
file_put_contents("/var/www/html/dt.txt", $SDTE.": Pnow=".$Pnow." P=".$P." dt=".$DT." E=".$Etotal." Err=".$ERR."\r\n", FILE_APPEND);
}
from 123solar.
see also:
#11
from 123solar.
Thanks for the pull
from 123solar.
Related Issues (20)
- Test Communication works, but 123Solar not logging any data HOT 8
- Inverter Won't Connect HOT 8
- Last 20 Days Changed HOT 19
- the display of the last 20 days has changed HOT 1
- 123solar don't start after reboot HOT 7
- high load on raspberry HOT 4
- Maybe a better systemd service unit HOT 9
- Communication error only in 123solar, terminal works HOT 2
- PHP8.2: Deprecated: Using ${expr} (variable variables) in strings is deprecated, use {${expr}} instead HOT 9
- Must PH1800 aka PNI PC1800 support HOT 1
- Peak power and Ileak in dasboard page HOT 1
- 123solar cant run (suddenly after a few months) HOT 23
- Deye Hybrid Inverter HOT 1
- sdmc120c-pool protocol HOT 2
- Sofar solar (Alias zucchetti) 1100tl-3300tl G1 rs485 modbus protocol implementation HOT 9
- 123solar-main Errors
- Windows Defender detects files as a virus: Trojan:Script/Wacatac.B!ml HOT 1
- 2024 not being populated HOT 14
- Question - different peak values in different pages HOT 2
- Shelly EM protocol - IP field enable HOT 3
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 123solar.