Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Calaos et zibase
#54
Le server arrive à communiquer avec la Zibase vu qu'il y a un message à chaque restant du server.
Par ailleurs, le ping fonctionne.

Ci-joint les captures:
   

   

Journal Calaos
Code:
Feb 20 14:37:20 nuc systemd[1]: Starting Calaos home automation server service...
Feb 20 14:37:20 nuc systemd[1]: Started Calaos home automation server service.
Feb 20 14:37:20 nuc calaos_server[503]: Calaos Server Daemon - http://www.calaos.fr
Feb 20 14:37:20 nuc calaos_server[503]: INF<503>:calaos_server Prefix.cpp:33 Prefix::Prefix(int, char**)() Install preffix is /usr
Feb 20 14:37:20 nuc calaos_server[503]: INF<503>:calaos_server Prefix.cpp:34 Prefix::Prefix(int, char**)() Binaries directory is  /usr/bin
Feb 20 14:37:20 nuc calaos_server[503]: INF<503>:calaos_server Prefix.cpp:35 Prefix::Prefix(int, char**)() Libraries directory is /usr/lib
Feb 20 14:37:20 nuc calaos_server[503]: INF<503>:calaos_server Prefix.cpp:36 Prefix::Prefix(int, char**)() Data directory is /usr/share/calaos
Feb 20 14:37:20 nuc calaos_server[503]: INF<503>:calaos_server Prefix.cpp:37 Prefix::Prefix(int, char**)() Locale directory is /usr/share/locale
Feb 20 14:37:20 nuc calaos_server[503]: INF<503>:calaos_server Utils.cpp:505 void Utils::initConfigOptions(char*, char*, bool)() Using config path: /etc/calaos/
Feb 20 14:37:20 nuc calaos_server[503]: INF<503>:calaos_server Utils.cpp:506 void Utils::initConfigOptions(char*, char*, bool)() Using cache path: /home/root/.cache/calaos/
Feb 20 14:37:20 nuc calaos_server[503]: ERR<503>: eina_hash.c:1297 eina_hash_iterator_tuple_new() safety check failed: hash == NULL
Feb 20 14:37:20 nuc calaos_server[503]: INF<503>:calaos_server CalaosConfig.cpp:308 void Calaos::Config::loadStateCache()() States cache read successfully.
Feb 20 14:37:20 nuc calaos_server[503]: INF<503>:calaos_input ./IOBase.h:41 Calaos::IOBase::IOBase(Params&)() IOBASE
Feb 20 14:37:20 nuc calaos_server[503]: INF<503>:calaos_input IO/InputAnalog.cpp:40 Calaos::InputAnalog::InputAnalog(Params&)() input_0: Ok
Feb 20 14:37:20 nuc calaos_server[503]: INF<503>:calaos_server IO/IOFactory.cpp:70 Calaos::Input* Calaos::IOFactory::CreateInput(std::string, Params&)() zibaseanalogin: Ok
Feb 20 14:37:20 nuc calaos_server[503]: INF<503>:calaos_input ./IOBase.h:41 Calaos::IOBase::IOBase(Params&)() IOBASE
Feb 20 14:37:20 nuc calaos_server[503]: INF<503>:calaos_input IO/InputAnalog.cpp:40 Calaos::InputAnalog::InputAnalog(Params&)() input_1: Ok
Feb 20 14:37:20 nuc calaos_server[503]: INF<503>:calaos_input IO/Web/WebInputAnalog.cpp:38 Calaos::WebInputAnalog::WebInputAnalog(Params&)() WebInputAnalog::WebInputAnalog()
Feb 20 14:37:20 nuc calaos_server[503]: INF<503>:calaos_server IO/IOFactory.cpp:70 Calaos::Input* Calaos::IOFactory::CreateInput(std::string, Params&)() webinputanalog: Ok
Feb 20 14:37:20 nuc calaos_server[503]: INF<503>:calaos_server CalaosConfig.cpp:150 void Calaos::Config::LoadConfigIO()() Done.
Feb 20 14:37:20 nuc calaos_server[503]: ERR<503>:calaos_server CalaosConfig.cpp:214 void Calaos::Config::LoadConfigRule()() Error, <calaos:rules> node not found in file /etc/calaos/r
ules.xml
Feb 20 14:37:20 nuc calaos_server[503]: INF<503>:calaos_server CalaosConfig.cpp:235 void Calaos::Config::LoadConfigRule()() Done. 0 rules loaded.
Feb 20 14:37:20 nuc calaos_server[503]: INF<503>:calaos_network TCPServer.cpp:40 TCPServer::TCPServer(int)() Listening on port 4456
Feb 20 14:37:20 nuc calaos_server[503]: INF<503>:calaos_network JsonApiServer.cpp:41 JsonApiServer::JsonApiServer(int)() Listening on port 5454
Feb 20 14:37:20 nuc calaos_server[503]: INF<503>:calaos_server main.cpp:176 int main(int, char**)() ### All services started successfully, entering main loop ###
Feb 20 14:37:20 nuc calaos_server[503]: INF<503>:calaos_server NTPClock.cpp:76 void NTPClock::updateClock()() NTPClock::updateClock() Updating clock...
Feb 20 14:37:20 nuc calaos_server[503]: INF<503>:calaos_server CalaosConfig.cpp:158 void Calaos::Config::SaveConfigIO()() Saving /etc/calaos/io.xml...
Feb 20 14:37:20 nuc calaos_server[503]: INF<503>:calaos_server CalaosConfig.cpp:181 void Calaos::Config::SaveConfigIO()() Done.
Feb 20 14:37:20 nuc calaos_server[503]: INF<503>:calaos_server CalaosConfig.cpp:243 void Calaos::Config::SaveConfigRule()() Saving /etc/calaos/rules.xml...
Feb 20 14:37:20 nuc calaos_server[503]: INF<503>:calaos_server CalaosConfig.cpp:264 void Calaos::Config::SaveConfigRule()() Done.
Feb 20 14:37:20 nuc calaos_server[503]: INF<503>:calaos_server NTPClock.cpp:197 void NTPClock::Handle2()() NTPClock: Updating clock...  DONE
Feb 20 14:37:20 nuc calaos_server[503]: INF<503>:calaos_input IO/InputAnalog.cpp:97 void Calaos::InputAnalog::emitChange()() input_1: 0

io.xml
Code:
more io.xml
<?xml version="1.0" encoding="UTF-8" ?>
<calaos:ioconfig xmlns:calaos="http://www.calaos.fr">
    <calaos:home>
        <calaos:room name="Séjour" type="salon" hits="0">
            <calaos:input gui_type="analog_in" host="192.168.0.70" id="input_0" name="Sejour Temp Hyg" port="17100" type="ZibaseAnalogIn" visible="true" zibase_id="OS439156794" zibase_sensor="temp" />
        </calaos:room>
        <calaos:room name="Technique" type="misc" hits="0">
            <calaos:input coeff_a="0.001" coeff_b="0" file_type="xml" frequency="10000" gui_type="analog_in" id="input_1" max="10000" min="-10000" name="Index compteur electrique" path="T1_BASE" step="1" type="WebInputAnalog" unit="KWh" url="http://192.168.0.202/api/xdevices.json?cmd=10" visible="true" />
        </calaos:room>
    </calaos:home>
</calaos:ioconfig>
__________________
Calaos sur VM ESXi
Zibase Pro (Zwave + RF433 + RTS)
Reply


Messages In This Thread
Calaos et zibase - by lovo63 - 11-10-2013, 09:14 PM
RE: Calaos et zibase - by raoulh - 11-11-2013, 03:48 PM
RE: Calaos et zibase - by lovo63 - 11-12-2013, 01:50 PM
RE: Calaos et zibase - by raoulh - 11-12-2013, 02:18 PM
RE: Calaos et zibase - by lovo63 - 11-12-2013, 02:23 PM
RE: Calaos et zibase - by raoulh - 11-12-2013, 02:53 PM
RE: Calaos et zibase - by captainigloo - 11-12-2013, 03:11 PM
RE: Calaos et zibase - by lovo63 - 11-12-2013, 08:15 PM
RE: Calaos et zibase - by raoulh - 11-13-2013, 09:28 AM
RE: Calaos et zibase - by raoulh - 11-13-2013, 11:10 AM
RE: Calaos et zibase - by captainigloo - 11-14-2013, 02:38 PM
RE: Calaos et zibase - by tom - 10-30-2014, 05:17 PM
RE: Calaos et zibase - by captainigloo - 10-30-2014, 06:58 PM
RE: Calaos et zibase - by tom - 10-30-2014, 07:56 PM
RE: Calaos et zibase - by lovo63 - 11-03-2014, 02:36 PM
RE: Calaos et zibase - by tom - 11-03-2014, 03:01 PM
RE: Calaos et zibase - by lovo63 - 11-04-2014, 09:50 AM
RE: Calaos et zibase - by tom - 11-04-2014, 10:30 AM
RE: Calaos et zibase - by lovo63 - 11-05-2014, 09:26 AM
RE: Calaos et zibase - by lovo63 - 11-18-2014, 02:58 PM
RE: Calaos et zibase - by tom - 11-20-2014, 10:07 PM
RE: Calaos et zibase - by tom - 12-17-2014, 04:41 PM
RE: Calaos et zibase - by lovo63 - 12-18-2014, 09:55 AM
RE: Calaos et zibase - by tom - 12-18-2014, 10:03 AM
RE: Calaos et zibase - by lovo63 - 12-18-2014, 10:15 AM
RE: Calaos et zibase - by tom - 12-18-2014, 10:18 AM
RE: Calaos et zibase - by raoulh - 12-18-2014, 10:36 AM
RE: Calaos et zibase - by tom - 12-18-2014, 02:40 PM
RE: Calaos et zibase - by raoulh - 12-18-2014, 03:27 PM
RE: Calaos et zibase - by tom - 12-18-2014, 11:05 PM
RE: Calaos et zibase - by diouk - 12-19-2014, 10:05 AM
RE: Calaos et zibase - by tom - 12-19-2014, 02:34 PM
RE: Calaos et zibase - by tom - 01-02-2015, 06:23 PM
RE: Calaos et zibase - by lovo63 - 01-05-2015, 10:39 PM
RE: Calaos et zibase - by tom - 01-05-2015, 11:08 PM
RE: Calaos et zibase - by lovo63 - 01-06-2015, 09:18 AM
RE: Calaos et zibase - by tom - 01-06-2015, 02:59 PM
RE: Calaos et zibase - by lovo63 - 01-06-2015, 08:06 PM
RE: Calaos et zibase - by tom - 01-06-2015, 11:06 PM
RE: Calaos et zibase - by lovo63 - 01-07-2015, 11:21 PM
RE: Calaos et zibase - by tom - 01-07-2015, 11:45 PM
RE: Calaos et zibase - by lovo63 - 01-08-2015, 09:15 AM
RE: Calaos et zibase - by tom - 01-08-2015, 11:37 AM
RE: Calaos et zibase - by tom - 02-12-2015, 03:05 PM
RE: Calaos et zibase - by capi - 02-20-2015, 12:03 AM
RE: Calaos et zibase - by tom - 02-20-2015, 12:06 AM
RE: Calaos et zibase - by lovo63 - 02-20-2015, 09:46 AM
RE: Calaos et zibase - by capi - 02-20-2015, 03:41 PM
RE: Calaos et zibase - by tom - 02-20-2015, 02:20 PM
RE: Calaos et zibase - by lovo63 - 02-20-2015, 02:38 PM
RE: Calaos et zibase - by lovo63 - 02-20-2015, 04:13 PM
RE: Calaos et zibase - by capi - 02-20-2015, 04:44 PM
RE: Calaos et zibase - by tom - 02-20-2015, 04:14 PM
RE: Calaos et zibase - by lovo63 - 02-20-2015, 04:19 PM
RE: Calaos et zibase - by lovo63 - 02-23-2015, 10:34 AM
RE: Calaos et zibase - by capi - 02-26-2015, 12:11 PM
RE: Calaos et zibase - by tom - 02-24-2015, 06:41 PM
RE: Calaos et zibase - by lovo63 - 02-24-2015, 06:47 PM
RE: Calaos et zibase - by raoulh - 02-26-2015, 12:41 PM
RE: Calaos et zibase - by lovo63 - 04-14-2015, 09:03 AM
RE: Calaos et zibase - by tom - 04-14-2015, 09:43 AM
RE: Calaos et zibase - by lovo63 - 04-16-2015, 09:40 AM

Forum Jump:


Users browsing this thread: 3 Guest(s)