- Platform information:
- Hardware: Raspberry Pi 3B
- OS: Archlinux ARM
- Java Runtime Environment: Oracle JDK 8
- openHAB version: 2.3.0
- Issue of the topic:
I’m trying to publish a simple temperature value for testing purpose on a distant MQTT broker.
Openhab logs indicates that the connection to the broker is successful.
But when the rule is triggered, I get the following error:
2018-08-14 22:28:20.391 [ERROR] [ntime.internal.engine.RuleEngineImpl] - Rule ‘test mqtt action’: An error occurred during the script execution: Could not invoke method: org.openhab.action.mqtt.internal.Mqtt.publish(java.lang.String,java.lang.String,java.lang.String) on instance: null
- Rules code related to the issue:
rule “test mqtt action”
when
Item RFXCOM_LivingRoom_Sensor_TH_Temperature received update
then
publish(“minimiBroker”, “node-red/temp”, RFXCOM_LivingRoom_Sensor_TH_Temperature.state)
end
- Services configuration related to the issue:
minimiBroker.url=tcp://minimi:1883
minimiBroker.clientId=openhab@domobox