node-red-contrib-tahoma icon indicating copy to clipboard operation
node-red-contrib-tahoma copied to clipboard

3.0beta5: 404 on getting devices when NodeRed is not installed URL /

Open s1mm0n opened this issue 2 years ago • 0 comments
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 ;)

s1mm0n avatar Jun 02 '23 09:06 s1mm0n