public void TestSetClusterValue() { try { IOBrokerJSONSet ioJson = new IOBrokerJSONSet(); IOBrokerClusterConnector wc = new IOBrokerClusterConnector(); ioJson = wc.SetIOBrokerValue("shelly.0.SHSW-25#D8BFC01A2B2A#1.Relay0.Switch", false); } catch (Exception ex) { Console.WriteLine("Fehler beim setzen von IOBroker", ex); //throw; } }
public void TestSetValue() { try { IOBrokerJSONSet ioJson = new IOBrokerJSONSet(); IOBrokerClusterConnector wc = new IOBrokerClusterConnector(); ioJson = wc.SetIOBrokerValue("zwave2.0.Node_031.Binary_Switch.targetValue", true); } catch (Exception ex) { Console.WriteLine("Fehler beim lesen von IOBroker", ex); //throw; } }