Thread Rating:
  • 4 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Esperyd´s Raspberry PI project
Smile thanks
I would like to do a docker based install so i dont have to maintain an ISO. All about time though Smile
The Ultimate DIY Solar and build place
YouTube / Forum system setup / My webpage  Diy Tech & Repairs

Current: 10kW Mpp Hybrid | 4kW PIP4048 | 2x PCM60x | 100kWh LiFePo4 | 20kWh 14s 18650 |  66*260W Poly | ABB S3 and S5 Trip breakers
Upcoming: 14S 18650~30kWh
Reply
You can see in the recieved that it cant intepretate the answer
The influx send Line. All values are na

You need the protocol to know whats sent back and then set jt Up.
And No. The raw is not sent since its a raw string.
The Ultimate DIY Solar and build place
YouTube / Forum system setup / My webpage  Diy Tech & Repairs

Current: 10kW Mpp Hybrid | 4kW PIP4048 | 2x PCM60x | 100kWh LiFePo4 | 20kWh 14s 18650 |  66*260W Poly | ABB S3 and S5 Trip breakers
Upcoming: 14S 18650~30kWh
Reply
Thanks for the reply. 

Does someone on this forum has the RS 232 communication protocol for a MPPI hybrid 3000 Plus? Or know where to get?


Thanks
Reply
Ask the seller or if you bought from mppsolar email peggy. Its not always they give it out but you can reffer to this thread if needed. She should know about me. I have talked to her several times Smile
The Ultimate DIY Solar and build place
YouTube / Forum system setup / My webpage  Diy Tech & Repairs

Current: 10kW Mpp Hybrid | 4kW PIP4048 | 2x PCM60x | 100kWh LiFePo4 | 20kWh 14s 18650 |  66*260W Poly | ABB S3 and S5 Trip breakers
Upcoming: 14S 18650~30kWh
Reply
Thumbs Up 
Mail is send to her, now its waiting, and hope they will send a copy from the communication RS232 protocol.
Reply
Smile Yes, there was a very fast answer and now a have the protocol for the MPPI 3000W PLUS
It seems it is the same as the Voltronic Power InfiniSolar 3KW

But i would like to use some help.

Where should I change what in what file to get this protocol working in Solar sis Grafana?

Thanks.


.pdf   RS232 communication Protocol for InfiniSolar 3K.pdf (Size: 704.07 KB / Downloads: 22)
Reply
Hi All,

I'm using solar-sis and I'd like to disable the sending of my PCM60x data to influx DB. I've re-watched all of Daromer's videos to gain insight and i've tried to comment out references to the influx server in the calls.json, session.json and package.json files but I can't seem to figure out how to simply broadcast the values over MQTT, and not to the Influx DB.

I want to avoid writing to the database to avoid corrupting an SD card (I have another Rpi for graphing anyway). I'm not that familiar with how node works so if anyone could give me any suggestions it would be greatly appreciated.

EDIT:

I figured it out, if you edit the following it seems to stop sending data to influx:

pi@grafpi /energy-logger/solar-sis/example/PCM60x $ cat calls.json
{
"query_config": {
"start_bit": "",
"command_type": "P",
"response_type": "D",
"data_length_bits": 3,
"seperator": " ",
"ending_character": "\r",
"crc_length": 2,
"response_start": "(",
"response_header_length": 0
},
"query": {
"general_status": {
"hide": false,
"influx": true,

change "influx": true to "influx": false.
daromer likes this post
Reply
Hello Daniel and all solarknights here.
Nice work here.

I managed to install an PIP GE 3024 Inverter with 6 panels and 2 little batteries.
Now i want to get access to the inverter by web as i connect with the windows software watchpower.

I tried a raspberry pi 2 and the V8 iso but couldn't start the grafana service.
After buying a pi3 that went well.

Which file i have to edit and put in the Com-Port ( i think /dev/ttyUSB0 ) so grafana can read the data.

Will it also be possible not only to read out data. eg switching from solar priority first to utility priority first.

THANK YOU
Reply
Hey everyone
Long time battery fiddler first time poster (i think)

I will keep the post short to begin with and hope i get my question accross ok

I have converted my Sonoff basic to Tasmota and have it working through Node RED
I can turn it off and on with the inject node via Node Red fine

MQTT is working

I also have my batrium feeding in to influxdb and mqtt

All good

Thanks Daromer

HOWEVER (here comes the question)

The MQTT message from the Batrium is a long string


{"first":":","MessageId":"3f33","nd":",","SystemId":9675,"hubId":19663,"CmuPollerMode":1,"CmuTxAckCount":7,"CmuTxOpStatusNodeId":2,"CmuTxOpStatusUSN":186,"CmuTxOpParamNodeId":7,"GroupMinCellVolt":3.61,"GroupMaxCellVolt":3.72,"GroupMinCellTemp":11,"GroupMaxCellTemp":16,"CmuRxOpStatusNodeId":3,"CmuRxOpStatusGroupAck":7,"CmuRxOpStatusUSN":180,"CmuRxOpParamNodeId":7,"SystemOpStatus":2,"SystemAuthMode":0,"SupplyVolt":25.42,"AmbientTemp":25,"SystemTime":1594145826,"ShuntSOC":59.5,"ShuntTemp":41,"NomCapacityToFull":68.6330078125,"NomCapacityToEmpty":101.3669921875,"ShuntPollerMode":7,"ShuntStatus":1,"hasShuntLoSocRecal":0,"hasShuntHiSocRecal":0,"ExpansionOutputFet5":0,"ExpansionOutputFet6":0,"ExpansionOutputFet7":0,"ExpansionOutputFet8":0,"ExpansionOutputRelay1":0,"ExpansionOutputRelay2":0,"ExpansionOutputRelay3":0,"ExpansionOutputRelay4":0,"ExpansionOutputPwm1":0,"ExpansionOutputPwm2":0,"ExpansionInput1":0,"ExpansionInput2":0,"ExpansionInput3":0,"ExpansionInput4":0,"ExpansionInput5":0,"Expan..."

How do i seperate the info i need from this string?

At this time i only want the ExpansionOutputPwm1":0 field from the message.

When it changes i want to turn on/off the sonoff via MQTT

(this is only an experiment at the moment so dont worry about why i am doing it)

I guess there is some code i need to write in a function node to dicard all the unwanted text and keep the little bit i want
OR
Do i need to change the message being sent from the batrium?

Thanks for any replies.
Sorry if this has been asked before
P


I figured it out. I needed the json node

Here it is incase anyone else needs it

Code:
[{"id":"d173b70.23e6748","type":"tab","label":"Flow 2","disabled":false,"info":""},{"id":"eb3c897f.71abc8","type":"mqtt in","z":"d173b70.23e6748","name":"","topic":"Batrium/9675/3f33","qos":"0","datatype":"auto","broker":"3e03c7e0.d78fb8","x":130,"y":120,"wires":[["29552ee8.437db2"]]},{"id":"11c13c77.ee2c24","type":"debug","z":"d173b70.23e6748","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":590,"y":180,"wires":[]},{"id":"29552ee8.437db2","type":"json","z":"d173b70.23e6748","name":"","property":"payload","action":"","pretty":false,"x":220,"y":220,"wires":[["ff22d580.eb9ed8","d59d4f56.1a1dd"]]},{"id":"ff22d580.eb9ed8","type":"function","z":"d173b70.23e6748","name":"","func":"if (msg.payload.ExpansionOutputPwm1 == 0)\n{\n    msg.payload = \"OFF\";\n}else {\n    msg.payload = \"ON\";\n}\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":380,"y":240,"wires":[["11c13c77.ee2c24","847e2711.4941f8"]]},{"id":"847e2711.4941f8","type":"mqtt out","z":"d173b70.23e6748","name":"","topic":"cmnd/sonoff/POWER","qos":"0","retain":"","broker":"3e03c7e0.d78fb8","x":610,"y":300,"wires":[]},{"id":"d59d4f56.1a1dd","type":"debug","z":"d173b70.23e6748","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload.ExpansionOutputPwm1","targetType":"msg","statusVal":"","statusType":"auto","x":540,"y":120,"wires":[]},{"id":"3e03c7e0.d78fb8","type":"mqtt-broker","z":"","name":"mqtt","broker":"grafana.pmhaynes.local.lan","port":"1883","clientid":"","usetls":false,"compatmode":false,"keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","closeTopic":"","closeQos":"0","closePayload":"","willTopic":"","willQos":"0","willPayload":""}]
Reply
This should work
give it a try
Create a switch node and split the message by type  == 3f33
Create a function node with  .int16le('ExpansionOutputPwm1')

From there you should be able to manipulate it.
Wolf
For Info Google Drive

Great ABB shunt breaker seller River City Industrial
Great prices and superb service.
 [Image: em2566%20(1)__19172.1521541365.jpg?c=2]

Not your average Wolf       
            Cool
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)