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
io.xml
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)
Calaos sur VM ESXi
Zibase Pro (Zwave + RF433 + RTS)