Closed mythbai closed 7 years ago
Hi:
Thanks for providing such great diagnostic information. It makes helping you much easier. The problem is in your item definition:
Number S1_Piano_Side_Lamp_Power "Piano Side Lamp P [%.1f W]" (gLights, GF_Living) {channel="smartthings:power:Home:PianoSideLampPower:power"}
it should be
Number S1_Piano_Side_Lamp_Power "Piano Side Lamp P [%.1f W]" (gLights, GF_Living) {channel="smartthings:powerMeter:Home:PianoSideLampPower:power"}
If you change power to powerMeter you should be good to go. I have the same device and mine works.
Thanks,
BobRak
Sorry I was struggling with my OH set up these days due to one rogue zwave device acting up, and didn't get time to pursue this issue. But your suggestion fixed it! Thanks Bob!
Thanks for letting me know.
Hi Bob. While this is working great for integrating SmartThings into openHAB, can I also suggest you considering integrating items in OH into SmartThings. I think infrastructure is there, you probably just need a SmartApp and some deviceHandler in ST. The reason being some ppl like me are taking advantage of both world: I use openHAB for critical local rule processing and keep some security/zigbee things still physically bound in ST. I also use SmartThings' notification platform, mobile widget, smart Home Monitor etc., and SmartApps developed by others to manage some non-critical missions, which is kind of convenient sometimes. Due to your integration only support one way, I'm still currently using a customized SmartThing-Mqtt-Bridge for communicating between the two platforms.
I think if you can provide integration from both side, it'll greatly ease up ppl in transitioning from ST to OH. Also, OH's cloud version is not always dependable, if you can find a way to take advantage of ST's notification feature that'd be super awesome. But as a developer myself, I realize it might be too much to ask, and might need to leave for a seperate addon.
@mythbai I'll keep this in mind for the future. For now I need to do a significant overhaul of what I've already done to make it work with more devices so that is going tp keep me busy for a while.
Bob
hi Bob
This is a great addon and working for my switch testing. I have this Zigbee SmartPower Outlet from Smartthings, but configuring powerMeter seems not working. Thing file: ...
Thing powerMeter PianoSideLampPower [smartthingsName="Piano Side Lamp"]
...Item File:
Number S1_Piano_Side_Lamp_Power "Piano Side Lamp P [%.1f W]" (gLights, GF_Living) {channel="smartthings:power:Home:PianoSideLampPower:power"}
Openhab log file:
Smartthings log:
It seems the mapping for this power attribute is not defined?