fyi: Shelly released Firmware 1.5.1, which includes a fix for the HT event urls. This eould reflect my experience that the initial event was posted after discover, but not when the temp changes.
I copied the jar-file âorg.openhab.binding.shelly-2.4.0-SNAPSHOT.jarâ to the folder â/usr/share/openhab2/addonsâ. Changed the name of user/group to âopenhabâ. But the binding does not arrive in the Addon List in Paper UI. So I cannot install it unfortunately. OpenHab itself is updated to the latest stable version. Is there any idea what to do? Thank you for your help.
Manually installed bindings donât show up unter PaperUI:Addons, thatâs nornal
You should see it under PaperUI:Configuration:Bindings
and be able to run a scan in PaperUI:Inbox
Please refer to the README if you have password protected devices.
Thank you for the quick reply.
It does not show up under PaperUI:Configuration:Bindings neither.
I assume the binding is called âShellyâ. But I canÂŽt find such binding.
My devices are not password protected.
I used already manually installed binding for some other stuff and it worked.
But this time I have no idea what to do.
I have latest stable too and I had to manually install via karaf console this:
feature:install esh.tp-coap
did you get the build from the master branch?
coap should not be referred in this version (was required several versions ago, but then I removed it)
@sengscfr You could verify that, but I wonât expect that it helps
Did you checked bundle:list in the OH console, please post the line here
Comes to my mind also one time I was downloading the jar via wget and experienced the same symptomsâŠI donât know why the jar resulted not validâŠI had to download it via browser and move it to my raspberry via sftp afterwards.
yes, that could be the problem. The github Link can not be used directly with wget. There is some valid link with ?raw=, but I canât remember the syntax excatly
@sengscfr Please try to download the jar with a browser
I downloaded the jar file from the master branch via browser: https://github.com/markus7017/org.openhab.binding.shelly/tree/master/target
And copied the file to addons folder.
whatâs about bundle:list?
I am going to check that this evening.
Hi,can someone post an example from his .items files how looks like the syntax from a shelly 2.5
Thanks
Nikos
Yes I have two Shelly flood
How may I help to get them working by your binding?
I checked with âbundle:listâ in karaf, but could not find any shelly binding.
How could I force an installation?
nice
- connect the device to your network
- launch the app, get the ip address from the device information
- make a screenshot of the UI panel (showing the sensor status)
- open the browser and execute the following urls
http:://settings
http:://status - send me the files as PM or post here
Thx
- delete the jar from the addons folder
- open OH console and run
feature:install esh-io-transport-mdns
log:set TRACE org.openhab.binding.shelly
- open a terminal window and run âtail -f openhab.logâ
- copy the binding jar to the addons folder and check what happens in the terminal
if this isnât success the only additional module is gson, try
- delete jar
- open OH console
bundle:install http://central.maven.org/maven2/com/google/code/gson/gson/2.8.5/gson-2.8.5.jar
- copy jar to addons folder
Not working for me either on a fresh VM Ubuntu 18.04.3 LTS with openHAB 2.4 stable.
Followed all steps above, Shelly binding is not shown with bundle:list command and there is nothing in the logs.
Status:
{âwifi_staâ:{âconnectedâ:true,âssidâ:âXXXXXâ,âipâ:"XXXXXXXXâ,ârssiâ:-88},âcloudâ:{âenabledâ:false,âconnectedâ:false},âmqttâ:{âconnectedâ:true},âtimeâ:â11:07â,âserialâ:1,âhas_updateâ:false,âmacâ:âXXXXXXXâ,âis_validâ:true,âfloodâ:false,âtmpâ:{âvalueâ:21.62,âunitsâ:âCâ,âtCâ:21.62,âtFâ:70.93, âis_validâ:true},âbatâ:{âvalueâ:95,âvoltageâ:2.92},âact_reasonsâ:[âbuttonâ], ârain_sensorâ:false,âupdateâ:{âstatusâ:âidleâ,âhas_updateâ:false,ânew_versionâ:â20190821-095233/v1.5.2@4148d2b7â,âold_versionâ:â20190821-095233/v1.5.2@4148d2b7â},âram_totalâ:50592,âram_freeâ:39632,âfs_sizeâ:233681,âfs_freeâ:154365,âuptimeâ:22}
Settings:
{âdeviceâ:{âtypeâ:âSHWT-1â,âmacâ:âXXXXXXXXâ,âhostnameâ:âshellyflood-XXXXXXâ,âsleep_modeâ:true},âwifi_apâ:{âenabledâ:false,âssidâ:âshellyflood-XXXXXXâ,âkeyâ:""},âwifi_staâ:{âenabledâ:true,âssidâ:âXXXXXXâ,âipv4_methodâ:âdhcpâ,âipâ:null,âgwâ:null,âmaskâ:null,âdnsâ:null},âwifi_sta1â:{âenabledâ:false,âssidâ:null,âipv4_methodâ:âdhcpâ,âipâ:null,âgwâ:null,âmaskâ:null,âdnsâ:null},âmqttâ: {âenableâ:true,âserverâ:âXXXXXXâ,âuserâ:âXXXXXXâ,âreconnect_timeout_maxâ:60.000000,âreconnect_timeout_minâ:2.000000,âclean_sessionâ:true,âkeep_aliveâ:60,âwill_topicâ:âshellies/shellyflood-XXXXXX/onlineâ,âwill_messageâ:âfalseâ,âmax_qosâ:0,âretainâ:false,âupdate_periodâ:30},âsntpâ: {âserverâ:âtime.google.comâ},âloginâ:{âenabledâ:true,âunprotectedâ:false,âusernameâ:âXXXXXXXâ,âpasswordâ:âXXXXXXâ},âpin_codeâ:"",âcoiot_execute_enableâ:false,ânameâ:"",âfwâ:â20190821-095233/v1.5.2@4148d2b7â,âbuild_infoâ:{âbuild_idâ:â20190821-095233/v1.5.2@4148d2b7â,âbuild_timestampâ:â2019-08-21T09:52:33Zâ,âbuild_versionâ:â1.0â},âcloudâ:{âenabledâ:false,âconnectedâ:false},âtimezoneâ:âEurope/Berlinâ,âlatâ:50.110901,âlngâ:8.682130,âtzautodetectâ:true,âtimeâ:â11:09â,âsensorsâ:{âtemperature_thresholdâ:1.0,âtemperature_unitâ:âCâ},âsleep_modeâ:{âperiodâ:24,âunitâ:âhâ},âreport_urlâ:null, ârain_sensorâ:false}
Markus,
I followed your description above and could not find anything in the openhab.log regarding shelly. And also the âbundle:listâ command did not show anything.
Do you have any other ideas. I really would like to use your binding.
Thank you for your help.
let me do a rebuild tomorrow, maybe the jar is not consistent