Skip to content
View in the app

A better way to browse. Learn more.

Power Forum - Renewable Energy Discussion

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

OT: Sonof devices

Featured Replies

  • Replies 83
  • Views 14.4k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • georgelza
    georgelza

    just a matter of time, resistance is futile, you will be assimilated. G

  • I suspect that they would have been flashed, most likely with some closed firmware that is proprietary to the system. If you want to do your own thing you will need to flash TASMOTA - there is a lot o

  • georgelza
    georgelza

    Not sure if any of the owners of Victron systems are aware, Integration with NodeRed is coming, it's going to be more than just publishing via MQTT. https://github.com/victronenergy/venus/is

Posted Images

12 minutes ago, georgelza said:

Def think a green or red light in kitchen that says utility/solar => green, red batteries might not be a bad idea...

G

Jip, goes a LONG way to save a marriage. 🙂 

Just a side of caution, the sonoff power rating is very much over-rated. Try to stick to no more than 70% of the rated capacity.

Ex: Sonoff basic - 10A, max load it to 7A. 

Our voltage is 249V x 7A = 1700w

2 hours ago, georgelza said:

Def think a green or red light in kitchen that says utility/solar => green, red batteries might not be a bad idea...

G

You can also use a Sonoff for this purpose. Just hookup a 220V green pilot light  to the output and program it ;)

  • Author

... thinking 2 - 3 large LEDs connected to a  RPi Wifi, and have the Pi connect to NodeRed/MQQT feed.

especially since I only ave 4 x Sonof's available from the ICC stack, was thinking 1 x pool. 1 for each Geyser... one spare for ... 

but now I'm thinking of maybe rather using 1 x sonof to drive a contacter that on/off non critical load, ie on when on solar or utility, enable that board, when on battery off, i would go further and install a timer on each geyser, to also only heat after hours/night... ie in this config at night when on utility... ideas.

G

  • Author

Paul, is all your interfacing with the Victron API/MQTT based...

I don't see the Victron on the ICC supported list, so guessing you not running their APM stack?

The sonof's you got is just FW Flashed, it's not their units. you running Misquito on a Rpi guess?

Just confirming what i think you said.

G

1 hour ago, georgelza said:

Paul, is all your interfacing with the Victron API/MQTT based..

Strait from their MQTT server , the Color Controle has its own MQTT broker so you just need to subscribe to the broker and you have all the data available. I once logged all the topics from the Victron and there were over 1000 topics!! I also wrote/adapted a pyhon script that upload the Victron data to an Emon site that I have. 

1 hour ago, georgelza said:

The sonof's you got is just FW Flashed, it's not their units

I would assume so as the Sonoffs own firmware does not contain MQTT. As I said the Tasmota FW is the way to go.

1 hour ago, georgelza said:

you running Misquito on a Rpi guess?

Not sure if it is Mosquito but all the MQTT brokers are the same. But yes on a Rpi .. 

4 hours ago, SilverNodashi said:

You can also use a Sonoff for this purpose. Just hookup a 220V green pilot light  to the output and program it

That would be a bit of an overkill rather look at a WEMOS  D1 its got 10 GPIO ports so you could have a LED for every occasion or even better add a Cheap Nokia Screen to it and you could have something like this. 

769095d6-75fe-4493-a6a3-d6fdebc24d03.thumb.jpg.9fb388227202e07e7405cfe065fc35ea.jpg

 

7 hours ago, The Terrible Triplett said:

Jip, goes a LONG way to save a marriage

Just add a buzzer that will not go off until the high batt discharge is stopped. People always feat any type of alarm. 

  • Author

Paul

 

Can you maybe advise, does the VenusGX also have this "MQTT subject feed", as it's the higher more capable solution I'd think so.

Is the VenusGX HW into network or Wifi ?

G

5 minutes ago, PaulF007 said:

Venus GX has all the same functionalities as the Color Control except for the screen

And more processor power and ports yes. Otherwise they are exactly the same bar the CCGX has a screen, the VenusGX you use a browser to view it.

47 minutes ago, PaulF007 said:

the Venus GX has all the same functionalities as the Color Control except for the screen

 

41 minutes ago, The Terrible Triplett said:

And more processor power and ports yes.

They are VERY similar. Both have a single core ARM Cortex-A8 processor. The CCGX is based on an earlier Texas Instruments board. The Venus-GX is based on a Beagelebone black and is about 50% faster than a CCGX (and has significantly faster memory access). The irony is that the fastest chip right now that you can run Venus on... is a Raspberry Pi3 (1200Mhz, 4 cores). But sd-card storage sucks and is often not reliable.

A replacement for the CCGX is in the works.

Edited by plonkster

3 hours ago, PaulF007 said:

Just add a buzzer that will not go off until the high batt discharge is stopped. People always feat any type of alarm. 

Every UPS I every owned was opened up and the buzzer de-soldered, before it went into production. I hate those pesky alarms. Unless you have an option to disable it once you know what's going on.

 

I would rather install a 10m long LED strip light under a red PVC cover and light up the whole kitchen when running off batteries. The missus will sure as hell not try and use the washing machine ;)

  • Author
19 minutes ago, SilverNodashi said:

Every UPS I every owned was opened up and the buzzer de-soldered, before it went into production. I hate those pesky alarms. Unless you have an option to disable it once you know what's going on.

 

I would rather install a 10m long LED strip light under a red PVC cover and light up the whole kitchen when running off batteries. The missus will sure as hell not try and use the washing machine ;)

... Install one very bright RED light.... to say on Batteries now...

G

23 minutes ago, georgelza said:

Not sure if any of the owners of Victron systems are aware,

Jip, Paul007 saw it a while ago, I think he posted it here somewhere. He got a CCGX, wanted a VenusGX ... now you all know why I keep on talking about VenusGX and not a CCGX. 🙂 

  • Author

Paul ...  Question on MQTT, being a NOOB myself...

#1 Can you record messages to a file, to then be submitted to a mosquito server, ie test messages ?

#2 Can the CCGX / VenusGX be configured to write messages out to a file, (to be used above)

Im looking for a test data stream/subjects to subscribe to to help with Node Red / MQTT / Python / Go / <device, ie Sonoff> development ie playing...

G

17 hours ago, georgelza said:

Integration with NodeRed is coming, it's going to be more than just publishing via MQTT.

Oh yes!

6 hours ago, georgelza said:

Im looking for a test data stream/subjects to subscribe to to help with Node Red / MQTT / Python / Go / <device, ie Sonoff> development ie playing...

If you have a CCGX/Venus-GX you can use that, otherwise get a Raspberry Pi and download the Venus image. Then enable MQTT in the Services menu and start the demo mode. Done... you now have an mqtt data stream 🙂

You can also look at this. It makes a docker instance that runs a simulation (various to choose from) and it has an mqtt server on it. If you know docker, this is by far the easiest option.

  • Author
3 hours ago, plonkster said:

Oh yes!

If you have a CCGX/Venus-GX you can use that, otherwise get a Raspberry Pi and download the Venus image. Then enable MQTT in the Services menu and start the demo mode. Done... you now have an mqtt data stream 🙂

You can also look at this. It makes a docker instance that runs a simulation (various to choose from) and it has an mqtt server on it. If you know docker, this is by far the easiest option.

./build.sh is failing... hate this part of trying to figure out whyyyyy

 

G

15 minutes ago, georgelza said:

./build.sh is failing... hate this part of trying to figure out whyyyyy

I'm a control freak. I tend to open the script and paste it line by line so I know what I am doing. I prefer HOWTOs that explain the steps rather than "here, run this script" 🙂

You can also trim it down if you want. Remove the html5 build part from dockerfile (lines 1 to 6, and lines 55 to 59). You can then also drop EXPOSE-ing of ports 9001 and 80. You don't need the html5 part if you just want mqtt.

  • Author

Removed the html5 bits...

 

---> a0b861e8ea2e
Step 9/31 : COPY dbus-tools/dbus /usr/bin/dbus
COPY failed: stat /var/lib/docker/tmp/docker-builder228278301/dbus-tools/dbus: no such file or directory
Georges-MacBook-Pro.local:/Users/george/Downloads/venus-docker-master >

 

G

  • Author

I see in Dockerfile

# dbus
COPY dbus-tools/dbus /usr/bin/dbus
COPY dbus-system.conf /etc/dbus-1/system.d/victron.conf
 

that dbus line is the 9th command line so that aligns the the error message 9/31 filed.

if I look in /Users/george/Downloads/venus-docker-master/dbus-tools it's empty.

Also notice this long directory.... /var/lib/docker/tmp/docker-builder228278301/dbus-tools/dbus

see whee it is actually located. / italic above.

I've uploaded my build log.

mqtt-build.txt

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.