Calaos, Home Automation Forum

Full Version: Problem connecting with Calaos installer
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, I am new to the forum and to Calaos and I have just installed my first Calaos Server on a RPi Model B.
Everything works fine and I can also access to the web page.
Unfortunately when I try to connect with Calaos Installer it gives me a "Failed to load config files” error.

Can you please help me to solve it?
Could a simple reinstall work out?

Br,
Gabe
Hi Gabe,

Yes we can help you.

First on which OS are you running Calaos Installer?
Is the network running correctly between the machine running Calaos Installer and the rpi?
What version of calaos do you have on the rpi?
What version of Calaos Installer are you running on your computer?

Thx
Hi and thanks for the answer.

1. Calaos Installer on a Mac (El Capitan)
2. I really think it is working correctly, I'm not using wifi but only Ethernet Cables and I can ssh into the Pi without any problem. There are no firewalls on the network.
3. I'm running version 2.0
4. I'm running version 2.0

I have tried to disable Mac OS's Firewall but no changes.

\Gabe
Ok,
It should work correctly with your setup.
The message you have means that the configurations files are somehow corrupted.

Do you have calaos_server running on the pi?
You can check by trying:
Code:
systemctl status calaos-server

Next, what do you have in /etc/calaos/ ?
You need at least io.xml, rules.xml and local_config.xml. And those files need to be XML valid.
So the files in /etc/calaos are
io.xml local_config.xml rules.xml widgets.xml

the calaos server status command returns

calaos-server.service - Calaos home automation server service
Loaded: loaded (/lib/systemd/system/calaos-server.service; enabled)
Active: active (running) since Thu 1970-01-01 00:01:53 UTC; 1 day 13h ago
Process: 1236 ExecStartPre=/bin/mkdir -p /home/root/.cache/calaos /etc/calaos (code=exited, status=0/SUCCESS)
Main PID: 1243 (calaos_server)
CGroup: /system.slice/calaos-server.service
└─1243 /usr/bin/calaos_server --config /etc/calaos --cache /home/r...

Jan 02 13:40:54 raspberrypi calaos_server[1243]: Expected: 77665544 - <UNKNOWN>
Jan 02 13:40:54 raspberrypi calaos_server[1243]: Supplied: 00000000 - <UNKNOWN>
Jan 02 13:40:54 raspberrypi calaos_server[1243]: ERR<1243>:ecore ecore.c:571...!
Jan 02 13:40:54 raspberrypi calaos_server[1243]: *** SPANK SPANK SPANK!!!
Jan 02 13:40:54 raspberrypi calaos_server[1243]: *** Now go fix your code. T...!
Jan 02 13:40:54 raspberrypi calaos_server[1243]: CRI<1243>: eina_binbuf_temp...!
Jan 02 13:40:54 raspberrypi calaos_server[1243]: Input handle pointer is NULL !
Jan 02 13:40:54 raspberrypi calaos_server[1243]: *** NAUGHTY PROGRAMMER!!!
Jan 02 13:40:54 raspberrypi calaos_server[1243]: *** SPANK SPANK SPANK!!!
Jan 02 13:40:54 raspberrypi calaos_server[1243]: *** Now go fix your code. T...!

Thanks for your help,
Gabe