PiDome Domotica/Home Automation
-
@John I rebooted the Pi server and now I don't get any data from the gateway. Attached is the appLog.txt
appLog.txtI just unplug the usb and plug it back now I get this error.
-
@Fwessels
sorry for the late response, got sick yesterday.In the first appLog i'm seeing :
Error handling: 20;0;1;0;0;19.0, error: Group 'S_DOOR' does not exist
Error handling: 20;1;1;0;0;20.3, error: Group 'S_MOTION' does not existThere is data coming through and is expecting S_DOOR and S_MOTION groups in the added device as is defined also on the API page.
The error try to add a non existing device is part of the non cached created device. I'm almost done with an update and will come back to you soon.
-
@Fwessels
I uploaded a new version of the server could you check if the updated version suits your needs and solves the above issues? Unfortunately it requires a clean installation. So the server has to be removed and re-added again. Also the browser cache needs to be cleaned. The software relies heavy on this. But, future updates will not require a clean database, so updates will not destroy any data anymore.
The new version is available here: http://pidome.org/downloads
A lot has changed and one of them are the group id's:
I've mentioned before to use the S_ sensor types, this has been changed to use the sensor id. When i take a look to the applog you posted you will be needing two groups one with id "0" and one with id "1". The controls id stay the same.The device list should now also display a new sensor node correctly for both AUTO mode sensors (address 255, add one at a time please) and fixed address sensors, if you use both, first add the fixed address ones.
Be aware, you will see the MySensors MQTT version in the custom devices list, please do not use this (yet), it is not finished yet.
It also is possible to starte the server with "./server.sh trace &" to get a bunchload of more information in the log file. Use with care and only when facing an issue. the trace option can be turned off via the "Settings > server settings" page. this trace option is only available during server start.
-
@John I download the Alpha version as I get an error "This Webpage is not available" for the dev version. I did a clean install and clear browser cache. So now the sensor is reporting the right info on "Select From device list" See below:
However I still getting a error in app log the sensor is still report the wrong info.
Attached is the AppLog file.appLog.txt
Also every time I reboot the server I lose the USB configuration and I have to reconfigure USB port?
-
@Fwessels
Did you use the group id's "0" and group id "1" for the device "device study" with address 20? If not this can be changed via the custom devices editor, when changed it will be applied. Also when you add the USB device did you use the "set, save and start" button?
If you would start the server with "./server.sh trace &" it will show the device XML's, loading options used, found usb ports url's used etc..
-
@John I change it to Groud Id "0" and Id 1 for temp.I also reboot the device and I am not getting any info in the device log about the sensor why is this the case? But I do get data from the gateway.
Yes I did "set,save and start" button
If I start the server with "./server.sh trace &" i just get this on the command line "[1] 3201"
here is the app logs:appLog.txt -
The "[1] 3201" means the command executes is detached from the console and used pid "3417" because of the "&" sign. It does not mean it ain't started.
Looking at the log file seeing:
2014-09-06 09:07:23,229 [main] INFO org.pidome.misc.utils.TimeUtils - Setting timezone data: Europe/Amsterdam, 51.950000, 4.449999
2014-09-06 09:07:27,403 [main] INFO org.pidome.misc.utils.TimeUtils - Setting timezone data: Europe/Amsterdam, 51.950000, 4.449999and other double lines and ports which are busy and bindings that fail that the server has been started twice within 4 seconds. They should both be stopped. and the server started only once.
-
-
@Fwessels
The group id's are correct. The control id's should be the var namings:0 = V_TEMP
1 = V_HUMYou can edit the custom device, after edit the change should be exposed immediately and data should also be displayed after first report after the change.
-
@John I just don't get this to work. I also download the latest version and did and clean installation and still I am getting group "S_Door" does not exits
I have the setting as per what you tell me. I now are giving up as it cannot be that difficult to get it to work or I am just missing something.
I have the same sensor working on OpenHab the only difference is that on OpenHab I am using the MQTT ethernet gateway. -
@Fwessels
Just send you a chat message because i got interested in the XML structure the device editor then would be creating. -
Thanks to @Fwessels the issue has been found :). More then many thanks to him.
It was related to the build environment which supplied the alpha downloads. It "chose" the wrong source code to build which caused mixed results. This has been solved.
-
@john this morning I have a funny issue as I add the new door sensor to PiDome all the Custom device disappear. Even it I add i new custom device it is not showing up in the list. I reboot the PI and it is still doing the same thing what can the issue be?
-
@Fwessels
Could you provide me the appLog file? This i have not seen before. -
First i'm seeing data coming in from the gateway before a gateway started message appears:
2014-09-07 10:11:13,452 [Thread-19] TRACE org.pidome.driver.driver.nativeMySensorsDriver14.NativeMySensorsDriver14 - Received from hardware driver:
2014-09-07 10:11:13,456 [Thread-19] ERROR org.pidome.driver.driver.nativeMySensorsDriver14.NativeMySensorsDriver14 - Faulty data or method handling: 2 (�
)014-09-07 10:11:23,828 [Thread-19] TRACE org.pidome.driver.driver.nativeMySensorsDriver14.NativeMySensorsDriver14 - Received from hardware driver: 0;0;3;0;14;Gateway startup complete.
It does not interfere, but still, strange.
Do the devices show on the main start page e.q. dashboard? because i do see responses (still checking if server send valid ones)
-
I think i've found it... i see a name with a "" in it: "Door\Window" all though it does not have a special meaning in json, it could mess with the tables code showing the devices, one moment. It is possible to edit a custom device with a direct link, i will send that one in a chat if you don't mind.