Hi
I am unable to establish connection between EDImax plug and Openhab.
Here are the set of steps I followed
Step 1:Downloaded the binding [org.openhab.binding.edimax_1.9.0.201607291201.jar] from a github site into /opt/openhab2/conf/addons folder.
Step 2: Verified binding
openhab> bundle:list | grep Edi
Step 3: created an item file
Switch EdimaxSimple {edimax="801F02FA6BB5:4711"}
Number EdimaxCurrent "Current [%.1f]" {edimax="801F02FA6BB5:4711:CURRENT"}
Number EdimaxPower "Power [%.1f]" {edimax="801F02FA6BB5:4711:POWER"}
Step 4:
Check the status of item file in openhab console but it seems it’s not getting loaded -getting message “no item found”
openhab> items list *Edi*
No item found for this pattern.
Step 5: created a site map file and also included the EDImax binding text in addon.cfg file.
Frame label= "Power Plugin" {
Switch item= EdimaxSimple
Text item= EdimaxCurrent icon="battery-50"
Text item= EdimaxPower icon="battery-50"
}
****** addons.cfg file***
legacy = true
binding =mqtt,mqtt1,edimax
Please ref to the screen - there is not data coming out from EDIMax plug.
Attacing the output from log file.
2019-05-11 14:02:13.135 [WARN ] [basic.internal.render.SwitchRenderer] - Cannot determine item type of 'EdimaxSimple'
org.eclipse.smarthome.core.items.ItemNotFoundException: Item 'EdimaxSimple' could not be found in the item registry
at org.eclipse.smarthome.core.internal.items.ItemRegistryImpl.getItem(ItemRegistryImpl.java:79) ~[?:?]
at org.eclipse.smarthome.ui.internal.items.ItemUIRegistryImpl.getItem(ItemUIRegistryImpl.java:802) ~[?:?]
at org.eclipse.smarthome.ui.basic.internal.render.SwitchRenderer.renderWidget(SwitchRenderer.java:84) [201:org.eclipse.smarthome.ui.basic:0.10.0.oh240]
at org.eclipse.smarthome.ui.basic.internal.render.PageRenderer.renderWidget(PageRenderer.java:194) [201:org.eclipse.smarthome.ui.basic:0.10.0.oh240]
at org.eclipse.smarthome.ui.basic.internal.render.PageRenderer.processChildren(PageRenderer.java:160) [201:org.eclipse.smarthome.ui.basic:0.10.0.oh240]
at org.eclipse.smarthome.ui.basic.internal.render.PageRenderer.processChildren(PageRenderer.java:181) [201:org.eclipse.smarthome.ui.basic:0.10.0.oh240]
at org.eclipse.smarthome.ui.basic.internal.render.PageRenderer.processPage(PageRenderer.java:124) [201:org.eclipse.smarthome.ui.basic:0.10.0.oh240]
at org.eclipse.smarthome.ui.basic.internal.servlet.WebAppServlet.service(WebAppServlet.java:189) [201:org.eclipse.smarthome.ui.basic:0.10.0.oh240]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [29:javax.servlet-api:3.1.0]
2019-05-11 14:02:13.171 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text
2019-05-11 14:02:13.172 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'EdimaxPower' for widget org.eclipse.smarthome.model.sitemap.Text
2019-05-11 14:02:13.174 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'EdimaxPower' for widget org.eclipse.smarthome.model.sitemap.Text
2019-05-11 14:02:13.177 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'EdimaxPower' for widget org.eclipse.smarthome.model.sitemap.Text
Just FYI, I am able to control the plug from the app on my phone.
Appreciate your help.