From Home Assistant Mosquito Broker to Tandem

From Home Assistant Mosquito Broker to Tandem

and.magro
Advocate Advocate
1,806 Views
5 Replies
Message 1 of 6

From Home Assistant Mosquito Broker to Tandem

and.magro
Advocate
Advocate

Hello,

 

I have seen some successful cases of sending data from Home Assistant to Tandem, and I am trying to replicate them without success.

 

I have created an automation in Home Assistant to publish MQTT sensor data every minute, and I can see in MQTT Explorer that the data is being sent.

 

In Tandem, I configured an MQTT Stream with my Home Assistant MQTT broker information, entering my public IP in the "Host" field. I also set up port forwarding for port 1883 on my router so that Tandem could access the MQTT data.

andmagro_2-1738195694845.png

 

The messages "Stream 1 has been initialized" and "MQTT Stream connected successfully" appear, but no data is imported. I am also not receiving any error messages in the "Exceptions" section.

 

Here is my Home Assistant automation configuration:

andmagro_0-1738195651581.png

 

MQTT Explorer:

andmagro_1-1738195670181.png

 

Tandem MQTT Stream configuration:

andmagro_3-1738195787711.pngandmagro_4-1738195814908.pngandmagro_5-1738195831728.png

 

Could be any restriction because of this "Sandbox" status?

andmagro_6-1738195883323.png

 

 

Do you have any suggestions?

Thanks in advance.

0 Likes
1,807 Views
5 Replies
Replies (5)
Message 2 of 6

geoff_sdanoDTW54
Autodesk
Autodesk

Hello and.magro,

 

Thanks for sharing your setup. Can you confirm if your Home Assistant and broker configurations are currently using MQTT Protocol version 3.1.1 (preferred currently) vs 5?

 

Using the Sandbox environment, shouldn't be blocking anything since you are not using the Tandem Connect MQTT Broker.

 

If you haven’t already seen our MQTT Tutorial, here is a link that may help with the final configuration steps, once you start seeing data in the MQTT Stream. https://help.autodesk.com/view/TANDEM/ENU/?guid=Tandem_Connect_Getting_Started_Tutorials_tutorial_mq...

 

Thank you!





Geoff Sdano
Customer Adoption Specialist
>
Message 3 of 6

and.magro
Advocate
Advocate

Hello @geoff_sdanoDTW54 ,

 

Thanks for your reply.

I already have the stream working, I made the following changes:

 

Topic:

- from: homeassistant/+/sensor1

- to: homeassistant/sensor1

 

Data Type:

- from: JSON

- to: RAW

 

andmagro_0-1738272626057.png

 

Now I'm trying to send data directly from Home Assistant, via Node Red to the Tandem MQTT Broker.

Any limitations on using the Tandem MQTT Broker in Sandbox environment?

 

Thanks

 

 

0 Likes
Message 4 of 6

geoff_sdanoDTW54
Autodesk
Autodesk

Hi and.magro,

 

Thank you for providing an update on what you changed to make it all work.

 

In answer to your MQTT Broker question, yes there are commercial limitations to using the Tandem Connect MQTT Broker. It does require a license. Please see here for more details about the MQ Add-On:  https://intandem.autodesk.com/pricing/.  

 

Thank you,



Geoff Sdano
Customer Adoption Specialist
>
0 Likes
Message 5 of 6

aaron_watkinsKPRD6
Autodesk
Autodesk

However, you could consider using an MQTT Gateway plugin inside your pipeline, effectively just replacing the MQTT Stream plugin that you had configured previously. 

 

The MQTT Gateway is a plugin based MQTT Broker and isn't subject to the same commercial restrictions as the standalone broker. It doesn't scale quite so high nor is it suitable if you need to subscribe for data, but for getting data into a pipeline that is then fed to Tandem, it would definitely be a solid option.

0 Likes
Message 6 of 6

Chad-Smith
Advisor
Advisor

@and.magro wrote:

Now I'm trying to send data directly from Home Assistant, via Node Red to the Tandem MQTT Broker.


You said you were trying to go via Node Red. Did you manage to get this working?

This is the method I use without issue and without using MQTT (HA > Tandem), so I can provide some assistance here if you still need it.

0 Likes