empierre / domoticz_gaspar-deprecated

Get Gaspar smart meter index to domoticz
https://easydomoticz.com/forum/viewtopic.php?f=10&t=5981
GNU General Public License v3.0
21 stars 21 forks source link

Error while executing domoticz_gazpar #23

Closed djs45 closed 2 years ago

djs45 commented 3 years ago

Hello I can't receive any data. Here is the error : pi@raspberrypi:~/domoticz_gaspar $ ./domoticz_gaspar.sh Error: near line 1: near "Exception": syntax error

What can I do ?

Many thanks, BR, Sébastien

empierre commented 3 years ago

Hello,

Line 1 is:

!/bin/sh

do you have the alias on your box ? maybe replace it with bash if you miss the link (if so you must have others things not working well, common alias for shell under linux)

djs45 commented 3 years ago

Thank you for your answer. I don't have alias. The program run (i have some json). My gazpar counter is operationnal since today so it can be the problem ?

empierre commented 2 years ago

il faut maintenant passer sur l'autre plugin, cf page d'accueil