lib/imperituroard/projects/iot/hua_oceanconnect_adapter.rb in imperituroard-0.5.0 vs lib/imperituroard/projects/iot/hua_oceanconnect_adapter.rb in imperituroard-0.5.1
- old
+ new
@@ -231,10 +231,10 @@
#2.2.44 Querying the Device ID
def querying_device_id(app_id, secret, node_id)
token = get_token(app_id, secret)[:body]["accessToken"]
p token
- path = "/iocm/app/dm/v1.1.0/queryDeviceIdByNodeId?nodeId=" + node_id + "&appId=Cd1v0k2gTBCbpQlMVlW1FVqOSqga"
+ path = "/iocm/app/dm/v1.1.0/queryDeviceIdByNodeId?nodeId=" + node_id + "&appId=Jy5KpoBUOScZEcrO2bRZhzfaIOUa"
p path
p path
url_string = "https://" + platformip + ":" + platformport + path
p url_string
uri = URI.parse url_string
\ No newline at end of file