Woutrrr / Omnik-Data-Logger

Data logger for Omnik Solar Inverters
GNU General Public License v3.0
40 stars 42 forks source link

No data in Domoticz #23

Open noppie opened 8 years ago

noppie commented 8 years ago

Hi Woutrrr,

I followed your instructions but I can't manage to get any data in Domoticz. The logfiles are also empty, while the config file says logging enabled. Used the correct IDX for the virtual sensors in Domoticz, but no data... Any suggestions?

ikookmaar commented 8 years ago

I'd like to have these instructions too, please. The additions for exporting data to Domoticz described in https://www.domoticz.com/wiki/Omnik_Solar_Inverter won't work anymore, as config.cfg and OmnikExport.py have changed a lot since that version (september 2015), mainly through the use of "plugins". Maybe it's time for a Domoticz plugin?

motor4all commented 7 years ago

Is the problem the config.cfg? Some syntaxes have change since before. If you want I can post an example

hans4307 commented 7 years ago

I've edited the Domoticz wiki. Getting your omnik data in Domoticz should be a piece of cake again.

noppie commented 7 years ago

Thank you. Followed your instructions but now i’m getting the next error:

File "DomoticzOutput.py", line 61 SyntaxError: Non-ASCII character '\xc2' in file DomoticzOutput.py on line 61, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details root@raspberrypi:/home/pi/Omnik-Data-Logger/Omnik-Data-Logger# python DomoticzOutput.py

Any idea?

Op 20 feb. 2017, om 16:10 heeft hans4307 notifications@github.com het volgende geschreven:

I've edited the Domoticz wiki. Getting your omnik data in Domoticz should be a piece of cake again.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Woutrrr/Omnik-Data-Logger/issues/23#issuecomment-281103481, or mute the thread https://github.com/notifications/unsubscribe-auth/AQnCloLW_z8ENUB_vpq9m9RksjY90CAxks5reazqgaJpZM4Hf_iT.

hans4307 commented 7 years ago

In the DomoticzOutput.py file, delete the degrees symbol in the comment at line 61. Line 61 is where the inverter temperature is send to domoticz. I didn't test it yet, but hopefully this is the solution for your problem. Please let me know if the problem isn't solved.

Hans.

Op 20 feb. 2017 6:59 p.m. schreef "noppie" notifications@github.com:

Thank you. Followed your instructions but now i’m getting the next error:

File "DomoticzOutput.py", line 61 SyntaxError: Non-ASCII character '\xc2' in file DomoticzOutput.py on line 61, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details root@raspberrypi:/home/pi/Omnik-Data-Logger/Omnik-Data-Logger# python DomoticzOutput.py

Any idea?

Op 20 feb. 2017, om 16:10 heeft hans4307 notifications@github.com het volgende geschreven:

I've edited the Domoticz wiki. Getting your omnik data in Domoticz should be a piece of cake again.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/Woutrrr/Omnik-Data-Logger/issues/23# issuecomment-281103481>, or mute the thread https://github.com/ notifications/unsubscribe-auth/AQnCloLW_z8ENUB_ vpq9m9RksjY90CAxks5reazqgaJpZM4Hf_iT.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Woutrrr/Omnik-Data-Logger/issues/23#issuecomment-281145154, or mute the thread https://github.com/notifications/unsubscribe-auth/ARmDAay3wTQ0B1yWfeRK8UA9IoC_H5Adks5redSDgaJpZM4Hf_iT .

noppie commented 7 years ago

Yes I already figured that out, now i’m looking for a virtual sensor for my solar panles, but I don’t know wich one

Op 20 feb. 2017, om 22:08 heeft hans4307 notifications@github.com het volgende geschreven:

In the DomoticzOutput.py file, delete the degrees symbol in the comment at line 61. Line 61 is where the inverter temperature is send to domoticz. I didn't test it yet, but hopefully this is the solution for your problem. Please let me know if the problem isn't solved.

Hans.

Op 20 feb. 2017 6:59 p.m. schreef "noppie" notifications@github.com:

Thank you. Followed your instructions but now i’m getting the next error:

File "DomoticzOutput.py", line 61 SyntaxError: Non-ASCII character '\xc2' in file DomoticzOutput.py on line 61, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details root@raspberrypi:/home/pi/Omnik-Data-Logger/Omnik-Data-Logger# python DomoticzOutput.py

Any idea?

Op 20 feb. 2017, om 16:10 heeft hans4307 notifications@github.com het volgende geschreven:

I've edited the Domoticz wiki. Getting your omnik data in Domoticz should be a piece of cake again.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/Woutrrr/Omnik-Data-Logger/issues/23# issuecomment-281103481>, or mute the thread https://github.com/ notifications/unsubscribe-auth/AQnCloLW_z8ENUB_ vpq9m9RksjY90CAxks5reazqgaJpZM4Hf_iT.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Woutrrr/Omnik-Data-Logger/issues/23#issuecomment-281145154, or mute the thread https://github.com/notifications/unsubscribe-auth/ARmDAay3wTQ0B1yWfeRK8UA9IoC_H5Adks5redSDgaJpZM4Hf_iT .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Woutrrr/Omnik-Data-Logger/issues/23#issuecomment-281181646, or mute the thread https://github.com/notifications/unsubscribe-auth/AQnClp8OVhLsRgPaLXFSaw10yz0HSuhUks5regDHgaJpZM4Hf_iT.

hans4307 commented 7 years ago

I'm using the virtual sensor 'Electric (Instant + Counter)'. This one is standard for recording the amount of electricity used, but when you click on the edit-button of the sensor in the utility tab, you can change the type from usage to return.

noppie commented 7 years ago

Thanks, How to change the icon….. now it looks like this:

Op 20 feb. 2017, om 22:38 heeft hans4307 notifications@github.com het volgende geschreven:

I'm using the virtual sensor 'Electric (Instant + Counter)'. This one is standard for recording the amount of electricity used, but when you click on the edit-button of the sensor in the utility tab, you can change the type from usage to return.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Woutrrr/Omnik-Data-Logger/issues/23#issuecomment-281187339, or mute the thread https://github.com/notifications/unsubscribe-auth/AQnCln7VyYc7fhGyErkhCWv1cip_YbeEks5regfngaJpZM4Hf_iT.

noppie commented 7 years ago

Found it! Just change from consumption to delivery…..

Everything works now!

Op 20 feb. 2017, om 22:42 heeft Norbert Otten norbert.otten@gmail.com het volgende geschreven:

Thanks, How to change the icon….. now it looks like this:

<Schermafbeelding 2017-02-20 om 22.42.20.png>

Op 20 feb. 2017, om 22:38 heeft hans4307 <notifications@github.com mailto:notifications@github.com> het volgende geschreven:

I'm using the virtual sensor 'Electric (Instant + Counter)'. This one is standard for recording the amount of electricity used, but when you click on the edit-button of the sensor in the utility tab, you can change the type from usage to return.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Woutrrr/Omnik-Data-Logger/issues/23#issuecomment-281187339, or mute the thread https://github.com/notifications/unsubscribe-auth/AQnCln7VyYc7fhGyErkhCWv1cip_YbeEks5regfngaJpZM4Hf_iT.