BobRak / OpenHAB-Smartthings

53 stars 54 forks source link

OpenHabDeviceHandler.groovy is not compiling in Smartthings developers tools. #85

Closed basem99h closed 4 years ago

basem99h commented 4 years ago

hello I created the OpenHabAppV2 application successfully from the attached code, but when i copied the code for the OpenHabDeviceHandler.groovy, it shows the following error image

any advice Thank you

BobRak commented 4 years ago

The OpenHabDeviceHandler is created in the My Device Handlers tab (not in the SmartApps tab)

basem99h commented 4 years ago

Thank you for your help I am very new on this, this is silly mistake Will test and post the results 🤗

basem99h commented 4 years ago

@BobRak thank you, devicehandler is published and is ok now can you help me how to get the mac adress of the opennhab server in order to create device Using the Smartthings developers tools i am using windows pc a server for the openab, and when i get the pysical devices mac address (using the cmd : ipconfig /all)i had many devices : image

thank you again

BobRak commented 4 years ago

You want to use the one that says "Killer Wireless". This is the mac address of the actual wireless adapter.

Bob

On Tue, Feb 11, 2020 at 7:21 AM basem99h notifications@github.com wrote:

@BobRak https://github.com/BobRak thank you, devicehandler is published and is ok now can you help me how to get the mac adress of the opennhab server in order to create device Using the Smartthings developers tools i am using windows pc a server for the openab, and when i get the pysical devices mac address (using the cmd : ipconfig /all)i had many devices : [image: image] https://user-images.githubusercontent.com/60322155/74250055-22a59280-4cfb-11ea-9075-84c0a8b7d426.png

thank you again

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/BobRak/OpenHAB-Smartthings/issues/85?email_source=notifications&email_token=AEHNNBG4342MSIHXZNKRBK3RCK67VA5CNFSM4KLX37XKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELM2BTA#issuecomment-584687820, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEHNNBHFUGIIC7FTAEHHYFDRCK67VANCNFSM4KLX37XA .