php

is the flukso able to install php and run a php script once every 5 minutes?
or is there a way I can convert the php script so the flukso can run it?

I just want to grab the generation data and send it to pvoutput.... saves having to run a pi aswell just to do it.

gebhardm's picture

Well, the FLM can be programmed in Lua. What is the specification for pvoutput to receive values? If it is a clamp reading then it is a sensor reading pvoutput takes as standard input. Otherwise you have to transform the sent message - see the respective demon's code in /usr/sbin (if this sounds Chinese, well ...)

gebhardm's picture

Note: All this (php, VPN, ...) belongs to the Development Corner as is goes beyond "installation" - also note that it seems there is no further development on this "rather old" product (as I am also "just" a user and won't help any further). There is https://openenergymonitor.org as a maintained product. Also there is the wonderful world of Arduino and especially ESP8266 and ESP32... anyway, Google is your friend, too.

B-Man's picture

yeah i guess you are correct. after looking into it I don't think it has the available memory to install the programs if it could run them...

vk2him's picture

You don't need a PC/pi/script to send data to PVOutput - you can configure the Automatic Uploads section in your PVoutput System to read the required values directly from the Flukso.net cloud - you just need the Flukso Sensor ID and API token from the Sensor tab under the Flukso.net cogs settings. Here's a redacted screenshot of my system configured on PVoutput to obtain data directly from Flukso.net
https://www.theshackbythebeach.com/flukso_pvoutput.jpg.

vk2him's picture

I forgot to add - the first sensor is consumption - the second is solar - note I had to select "Opposite" - the third sensor is my Hot Water System as PVoutput can track extra data if you pay a small yearly subscription - this isn't needed if all you want to track is Consumption/Production. The subscription also allows 5 minute updates rather than the standard ...

B-Man's picture

Yeah I know how it works.
I wanted to add my generation directly from the inverter. I currently use a pi for that with a php script.
The inverter is 40m away so without running 2 seperate fluksos I can't do it. And I can just grab the data directly anyway.
Was hoping to be able to run my script from the flukso and I wouldn't have to run the pi