Exemplo n.º 1
0
        public void TestSetIOBrokerValue()
        {
            try
            {
                IOBrokerJSONSet      ioJson = new IOBrokerJSONSet();
                IOBrokerWebConnector wc     = new IOBrokerWebConnector();
                ioJson = wc.SetIOBrokerValue("shelly.0.SHSW-25#D8BFC01A2B2A#1.Relay0.Switch", false);
            }

            catch (Exception ex)
            {
                Console.WriteLine("Fehler beim setzen von IOBroker", ex);
                //throw;
            }
        }
Exemplo n.º 2
0
        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;
            }
        }