PV Monitor project

Moderators: grovkillen, TD-er, Stuntteam

Post Reply
Message
Author
User avatar
Ath
Normal user
Posts: 69
Joined: 10 Jun 2018, 12:06
Location: NL

PV Monitor project

#1 Post by Ath » 17 May 2020, 17:55

Today I completed my PV display project.
It consists of a Wemos D1 clone, a 1.3" OLed display and a APDS-9960 gesture sensor.

The PV data is sent to the fixed IP address of the Wemos, and the string that is displaying the Start and Update times is also formatted and sent externally. Data is gathered by my RPi 3B, hosting Domoticz, Moquitto MQTT broker, and a script that reads the data every minute from the Zeversolar inverter.

SolarDisplayInside.jpg
SolarDisplayInside.jpg (1.18 MiB) Viewed 318 times
SolarDisplayOutside.jpg
SolarDisplayOutside.jpg (1.03 MiB) Viewed 318 times
GestureSensor.jpg
GestureSensor.jpg (327.1 KiB) Viewed 318 times
Unfortunately, the hole has to be quite large or else the gesture sensor blocks the Wemos

SolarDisplayOutput.jpg
SolarDisplayOutput.jpg (872.85 KiB) Viewed 318 times
Text is mostly in Dutch to conform to the WAF factor...

I'm using a self-built ESPEasy version, that includes my adjustments to the OLEDFramed and APDS-9960 plugins that are currently still in PR state. By default the APDS Gesture gain is set to a factor of 4, but it only works reliable when set to a lower gain.

There is only one rule for controlling the display by using the gesture sensor, as the display is set to turn off after 40 seconds to extend the lifetime of the display.

Code: Select all

on Gesture#Gesture do
  if %eventvalue% != [Variables#Gesture]
    TaskValueSet,10,2,%eventvalue%  // Store last value
    if %eventvalue% != 4
      oledframedcmd,frame,0  // Next frame, turns on and selects first frame when off
    endif
    if %eventvalue% = 4  // 'Down' gesture
      oledframedcmd,display,off  // Turn off
    endif
  endif
endon

User avatar
grovkillen
Core team member
Posts: 3584
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: PV Monitor project

#2 Post by grovkillen » 17 May 2020, 18:55

Nice setup! Thanks for sharing. :D
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 6 guests