HeishaMon icon indicating copy to clipboard operation
HeishaMon copied to clipboard

Cannot import Json in Node Red

Open MikeyMan83 opened this issue 2 years ago • 10 comments

Hi!

Trying to import the json into NodeRed on my Pi for Domoticz, i get the following error: image

I have installed influxdb as per the readme as well. Any thoughts?

MikeyMan83 avatar Aug 25 '22 07:08 MikeyMan83

You need to install the influx components into nodered also

IgorYbema avatar Aug 25 '22 08:08 IgorYbema

I did, although readme says its optional:

Prerequisite:

Domoticz with mqtt setup
node-red with mosquitto (optionally with https://flows.nodered.org/node/node-red-contrib-influxdb installed)
Working PCB with Heishamon firmware installed

Followed the link and executed the following command: sudo npm install node-red-contrib-influxdb

result is: image

also added panasonic db:

image

MikeyMan83 avatar Aug 25 '22 08:08 MikeyMan83

Do you see the influx components in the left menu bar in nodered? Maybe they changed name a bit with newer versions

IgorYbema avatar Aug 25 '22 08:08 IgorYbema

i see these:

image

MikeyMan83 avatar Aug 25 '22 08:08 MikeyMan83

Not sure what is wrong. Think something with new version. Can you check in nodered forums?

IgorYbema avatar Aug 25 '22 09:08 IgorYbema

Not sure what is wrong. Think something with new version. Can you check in nodered

Really dont know what to ask for, havent found any examples of this specific error tbh

MikeyMan83 avatar Aug 25 '22 09:08 MikeyMan83

Did get this fixed through help on nodered forum.

Something was wrong with the install. Reinstalled without sudo.

now getting another error though... image

Got the feeling someting is still not in order.

image

MikeyMan83 avatar Aug 25 '22 18:08 MikeyMan83

This flow is really old. Needs some updates but I don't remember who created it :)

IgorYbema avatar Aug 25 '22 18:08 IgorYbema

Oh ok... that doesn't help...

Its an issue with the json it seems, although similar flows give the same error:

image

MikeyMan83 avatar Aug 25 '22 18:08 MikeyMan83

@IgorYbema any way you could have a look maybe? I'm not good with code :(

MikeyMan83 avatar Aug 25 '22 19:08 MikeyMan83