node-red-contrib-tahoma
node-red-contrib-tahoma copied to clipboard
3.0beta5: 404 on getting devices when NodeRed is not installed URL /
trafficstars
Hi,
My Devices List did't show up and i get an 404 Error. I am using RedMatic (NodeRed plugin for Raspberrymatic).
As there are multiple Plugins running on the Server NodeRed has another base path: http://192.168.xxx.xxx/addons/red/
Changes I've done to get it work:
node-red-contrib-tahoma/src/nodes/tahoma.html
LINE 38: $.get(`somfy/${tahoma_account_id}/devices`).then(function (
(Remove the leading "/")
node-red-contrib-tahoma/src/nodes/tahoma-read.html
LINE 37: $.get('somfy/' + tahoma_account_id + '/devices').then(
(Remove the leading "/")
Maybe you can push this edit to beta6 ;)