Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Watchpower automation/alternatives?
#11
I dont have time right now since i also need to read up on the code...  Tongue  With that said in the MPI10kw folder you have some commands made since i use that to correct/change power going to grid via NodeRed and data from my SDM630 meters.

That may give you a hint:
msg.url = "http://192.168.25.129:3004/f1?a=1&f=" + f + "&w=" + parseInt(msg.payload)
This is how i send commands to solar sis from node-red. This basically tells solar sis to send a command that have the name of f1,f2 or f3. And then the wattage to compensate to grid.

In session.json you have in the bottom ListenOn where you define all topics to listen on.

Just above you have the definiton of that command

Code:
    "f1": {
      "command": "set/f1",
      "config": "set_config",
      "before": "before_f1",
      "callback": "callback_f1"
    }

Here you can see everything. What command that need to be run before it starts. The config and also the callback what to do with data that comes back. 
What you would like to look at first is the command

Code:
"set": {
    "feeding_grid_power_calibration":{
      "command": "S012FPADJ",
      "variables": {
        "feeding_grid_derection": [1, 0, 1],
        "feeding_grid_calibration_power": [4, 0, 999]
      }
    },
    "f1": {
      "command": "S013FP",
      "hide": true,
      "variables": {
        "fase": "",
        "watt": [4, 0, 999]
      }
    }

Here you have the "Set". You can add as many as you want here under. F1 is the one I have added that sets the correction. It defines the command and then variables to use. Watt defines 4 elements and between 0 and 999


Note that before it run the sets command you have the "before" that one makes sure that the data processed and sent is fixed or manipulated. It doesnt have to be doing anything but for above it checks the fase to set and calculates the values to send. 

Hope that helps a bit as start 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
#12
https://github.com/ned-kelly/docker-volt...eassistant works great and also https://github.com/jblance/mpp-solar

both can be automated for gathering data and graphana graphs
Reply
#13
(05-11-2020, 08:29 PM)gazzaman2k Wrote: https://github.com/ned-kelly/docker-volt...eassistant works great and also https://github.com/jblance/mpp-solar

both can be automated for gathering data and graphana graphs
OK. I have just this week got a MPP Solar pip-1012mse solar inverter charger and I've looked at the docker-voltronic-homeassistant page and it looks like something I would like to do myself. I also have running on a raspberry pi 4 a NAS via OMV5 with docker/portainer. So I want to add this via portainer on OMV5 but I'm unsure how to do this. Do you know how or can direct me to a page with instructions? I know the basics of installing containers as I've installed a few already, but this seems a bit more involved. The instructions I've seen so far involve command line instructions etc, or downloading whole images. I just want to add a container inside portainer.
MrMuzza.
3kw solar panels             \_ grid tied.
Solax SL-TL3000 inverter /

Victron Color Control GX Remote Panel (not currently being used).

MPP Solar PIP-1012mse
Batrium Starter Kit: WatchMon4 + 4 x BlockMon + Shuntmon - SoC% energy sensor (4 blockmons currently unused).
200ah 12v LifePo4 battery.
Reply
#14
(07-25-2020, 11:45 AM)MrMuzza008 Wrote:
(05-11-2020, 08:29 PM)gazzaman2k Wrote: https://github.com/ned-kelly/docker-volt...eassistant works great and also https://github.com/jblance/mpp-solar

both can be automated for gathering data and graphana graphs
OK. I have just this week got a MPP Solar pip-1012mse solar inverter charger and I've looked at the docker-voltronic-homeassistant page and it looks like something I would like to do myself. I also have running on a raspberry pi 4 a NAS via OMV5 with docker/portainer. So I want to add this via portainer on OMV5 but I'm unsure how to do this. Do you know how or can direct me to a page with instructions? I know the basics of installing containers as I've installed a few already, but this seems a bit more involved. The instructions I've seen so far involve command line instructions etc, or downloading whole images. I just want to add a container inside portainer.
MrMuzza.
After trying many, many times to get home assistant running WITH Supervisor as a container in OMV5 on a raspberry pi 4 I simply could not work it out. Who ever created home assistant (HA) seems to have change thing where HA in a container is stripped down and no longer has the Supervisor function. So I could install HA, but not with supervisor. 

But finally after many searchings I found the answer. In the comments of a HA blog was a comment by a sparkydave who mentioned a guide created by a @kanga_who which had a link to instructions on how to install what I've trying to do every day since my above question. The link to the instructions is: https://drive.google.com/open?id=1oKhnQ1...Nq8e67-5Kh

OK, so if you already have OMV5 running on your raspberry pi then you can go straight to 2.2) what I did is the following:
enter:
sudo apt update etc...
sudo apt-get install -y apparmor-utils apt-transport-https avahi-daemon ca-certificates curl dbus jq network-manager socat software-properties-common

I skipped the next three part as they did not apply for me, then:

sudo curl -sL "https://raw.githubusercontent.com/Kanga-Who/home-assistant/master/supervised-installer.sh" | bash -s -- -m raspberrypi4-64 -d "/srv/dev-disk-by-label-seagate/data/appdata/config/homeassistant" 

Note: if you are doing it you may have to change the part after -m to your sbc type, ie: 



raspberrypi
raspberrypi2
raspberrypi3
raspberrypi4
raspberrypi3-64
raspberrypi4-64

and the part after -d change to where you store your appdata

Anyway, I hope this helps anyone else who may decide to do what I've been trying to do.
MrMuzza008
3kw solar panels             \_ grid tied.
Solax SL-TL3000 inverter /

Victron Color Control GX Remote Panel (not currently being used).

MPP Solar PIP-1012mse
Batrium Starter Kit: WatchMon4 + 4 x BlockMon + Shuntmon - SoC% energy sensor (4 blockmons currently unused).
200ah 12v LifePo4 battery.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)