I think my system was working fairly well - accuracy was off but a good enough indicator of whether my solar was feeding back to the power company. At some point though over the winter something I expect I did, seems to have broken things and I seem to have made it worse. In short the kWh/day feeds are not logging anything for some reason. There may be other issues too that would be good to clean up.
To complicate things:
- This is a US system with two split 120V legs
- I have a PV system that can feed the grid
- My billing tariff has three different rates, over four periods
I have schedules working and that seems fine. I took the screen shots at about 3:10pm, so the super-peak rate is in effect. The main processing is shown on what I call the red input. The logic I have is:
- List item Add black power - this will give me net power from or to grid
- If not off peak schedule, zero out the input
- if zero (input) skip next - should be true
- convert power to kwh and log it to off-peak
- if zero (input) skip next - should be true
- convert power to kwh/d and log it to off-peak kWh_d
- reset input to original
- add black power input
- … repeat this for Summer-peak, Winter Peak, and Super Peak (line 23)
- line 23, should return false and therefore not zero out the input
- line 24 input is not zero so should not skip next
- line 25 convert power to kWh/d and log to Super Peak kWh_d
- line 26 input is not zero so should not skip next
- line 27 convert power to kWh and log to Super-Peak
The feeds, appear to show this as working - except when I try to view them
It seems that kWh is logging but not kWh_d - I have tried deleting the feeds and creating new feeds but it still does not appear to be saving. Hopefully it is something simple that I have messed up.
Emoncms log shows a combination of these, I’m not sure what feeds these id’s relate to. The timestamp is also from about 35 minutes ago:
2025-06-25 18:52:17.234|WARN|feed_model.php|Feed model: Requested feed does not exist feedid=59
2025-06-25 18:52:17.235|ERROR|feed_model.php|get_timevalue() Feed '59' does not exist.
2025-06-25 18:52:35.277|WARN|PHPFina.php|get_meta() meta file does not exist '/var/opt/emoncms/phpfina/54.meta'
Server Information
Server Information
Services
-
emonhub :- Active Running
-
feedwriter :- Active Running - sleep 300s 241 feed points pending write
-
service-runner :- Active Running
-
redis-server :- Active Running
-
mosquitto :- Active Running
-
emoncms_mqtt :- Not found or not installed
-
emonPiLCD :- Not found or not installed
-
demandshaper :- Not found or not installed
Emoncms
- Version :- low-write 11.4.11
- Git :-
- URL :- GitHub - emoncms/emoncms: Web-app for processing, logging and visualising energy, temperature and other environmental data
- Branch :- * stable
- Describe :- 11.4.11
- Components :- Emoncms Core v11.4.11 | App v2.8.4 | Dashboard v2.3.3 | Device v2.2.6 | Graph v2.2.3 | Backup v2.3.3 | Network v3.1.2 | Postprocess v2.4.7 | Sync v2.1.7 | Usefulscripts v2.3.11 | EmonScripts v1.7.10 | EmonScripts v1.7.10
Server
- OS :- Linux 6.12.20+rpt-rpi-v7
- Host :- munitrac | munitrac.feeney | (10.192.168.198)
- Date :- 2025-06-25 15:36:38 EDT
- Uptime :- 15:36:38 up 12 days, 20:22, 2 users, load average: 1.06, 0.61, 0.47
Memory
- RAM :- Used: 50.77%
- Total :- 743.05 MB
- Used :- 377.26 MB
- Free :- 365.8 MB
- Swap :- Used: 34.82%
- Total :- 2 GB
- Used :- 713.11 MB
- Free :- 1.3 GB
Disk
- **** :- - / :- Used: 27.53%
- Total :- 41.42 GB
- Used :- 11.4 GB
- Free :- 28.11 GB
- Read Load :- 0 B/s
- Write Load :- 0 B/s
- Load Time :- 4 mins
- /mnt/mmcblk0p2 :- Used: 67.12%
- Total :- 2.5 GB
- Used :- 1.68 GB
- Free :- 693.99 MB
- Read Load :- n/a
- Write Load :- n/a
- Load Time :- n/a
- /boot/firmware :- Used: 21.62%
- Total :- 509.99 MB
- Used :- 110.24 MB
- Free :- 399.75 MB
- Read Load :- n/a
- Write Load :- n/a
- Load Time :- n/a
HTTP
- Server :- Apache/2.4.62 (Raspbian) HTTP/1.1 CGI/1.1 80
MySQL
- Version :- 10.11.3-MariaDB-1+rpi1
- Host :- 127.0.0.1 (127.0.0.1)
- Date :- 2025-06-25 15:36:38 (UTC -04:00)
- Stats :- Uptime: 1110397 Threads: 19 Questions: 977746 Slow queries: 0 Opens: 100 Open tables: 91 Queries per second avg: 0.880
Redis
- Version :-
- Redis Server :- 7.0.15
- PHP Redis :- 6.0.3-dev
- Host :- localhost:6379
- Size :- 485 keys (8.51M)
- Uptime :- 12 days
MQTT Server
- Version :- Mosquitto 2.0.11
- Host :- localhost:1883 (127.0.0.1)
PHP
- Version :- 8.2.7 (Zend Version 4.2.7)
- Run user :- User: www-data Group: www-data Script Owner: www-data
- Modules :- apache2handler calendar Core ctype date dom v20031129exif FFI fileinfo filter ftp gettext hash iconv json libxml mbstring mosquitto v0.4.0mysqli mysqlnd vmysqlnd 8.2.7openssl pcre PDO pdo_mysql Phar posix random readline redis v6.0.3-devReflection session shmop SimpleXML sockets sodium SPL standard sysvmsg sysvsem sysvshm tokenizer xml xmlreader xmlwriter xsl Zend OPcache zlib
Pi
-
Model :- Raspberry Pi 3 Model B+ Rev 1.3 - 1GB (Sony UK)
-
Serial num. :- 277F552C
-
CPU Temperature :- 48.31°C
-
GPU Temperature :- N/A (to show GPU temp execute this command from the console “sudo usermod -G video www-data” )
-
emonpiRelease :- - File-system :- read-only