Worked this out by copying it as a custom component and making the changes to the code. Works ok to talk to TTN but seems that the payload is different to what the plugin is expecting due to the DecodeDataObj in the payload field.
So off to try and bridge it with MQTT instead of TTN.
No Joy with it, even changed the decoder to simplify the payload, could never pick it up properly.
I ended up giving up and using Node Red instead, which works really well to subscribe to the TTN Meshed MQTT and then I split the payload into separate topics on my MQTT broker and use HA to listen to the topics.
It works well so far and pretty reliably for another Lorawan node I have(RAK7204).
One thing that happens is that the Lora nodes either stop sending data or the gateway stops sending data, so I’m trying to implement a watchdog which is only partially succesful using other code from here.
Which is this code(its here on the forum but I can’t find the source right now)
Then an automation is setup if the timer goes above 1000 seconds for more than an hour it sends me a push notice. I then have to work out if its the sensor or the gateway then not responding.
Have bought a zigbee gateway to try that MQTT implementation as its hopefully a bit more reliable.
Very nice… I was hoping to implement something a bit simpler. I haven’t gotten my head around node red yet.
Using MQTT do you have an open listener on the internet receiving messages (ie static IP / DNS which TTN sends the messages?
But… in the meantime Im using tago.io to provide a few basic dashboards and a script to make sure the devices check in on a regular basis. Seems to work but would be nice to have it integrated with home assistant.