What would be a good example to follow for creating a new driver and service?

I would like to read values from a fronius solar inverter, and store an archive 
record in a separate database. Then generate graphs to plot the data from the 
database (much like the cmon service)

It should be simple to do. The inverter sends a JSON formatted response from 
http GET requests. So it is just a matter of making the request and 
parsing/storing the values during every archive loop. Maybe even skipping if it 
is nighttime. 

I have looked through some of the other services, which makes it look very 
complicated (or maybe over my python skill level). For example, following the 
cmon service, i don't see where the new database is created. 

Any suggestions on an existing service or driver that I can use as a basis for 
my new service?

Joe

Reply via email to