more G-Labs products

Author Topic: zwave light revert to switch  (Read 2508 times)

June 26, 2014, 12:30:56 AM
Read 2508 times

kiwi799

  • *
  • Information
  • Newbie
  • Posts: 10
hello, I installed HG version 1.00 beta r375 on a linux debian7.
I have a zwave AeonLab Stick v2 with two Switch AeoTec MicroSmart Energy G2.
The two AoeTec MicroSmart are discovered with node4 and node5.
I creaed a group module called "Cuisine" and I added them to this group. I setup both switch as "light" (lumiere in my French version). The setting show light when I click on "update the module". But if I click on return to go out of Group & Module, then I come back to this group "Cuisine", both device node4 and node5 revert back to Zwave node4 and Zwave node5 with the "Prise de courant" type (the default type when you add a Zwave device). Moreover the name of the device are reset to empty.
Can you help me to ?
1. set my zwave device to "lumiere" instead of "prise de courant"
2. change the name of my zwave device

I installed HG on a windows W8 with the same materiel (Stick v2 and the two Aeotec switch) and was able to use the type "lumiere" and change the name of the device.

Regards

June 26, 2014, 06:16:42 PM
Reply #1

James

  • *
  • Information
  • Newbie
  • Posts: 14
I'm fairly new to Linux but it sounds to me like you don't have permission(s) to write to the file, that would be my first guess.

James

June 26, 2014, 08:54:45 PM
Reply #2

nolio

  • *****
  • Information
  • Global Moderator
  • Posts: 544
Hi,

kiwi799, did you try to reboot HG after your "update the module" ?
Code: [Select]
/etc/init.d/homegenie restartAnd to follow James, can you please do an :
Code: [Select]
ls -lin your HG directory please ?

Bye

June 27, 2014, 01:00:35 AM
Reply #3

kiwi799

  • *
  • Information
  • Newbie
  • Posts: 10
Hello,

I did reboot HG after "update the module", but it still revert back to Zwave switch.

Here is the result of "ls -l" of my HG folder :
root@deb7HG:/usr/local/bin/homegenie# ls -l
total 10796
-rw-r--r-- 1 kiwi kiwi     833 avril  1 13:32 automationgroups.xml
drwxrwxr-x 2 kiwi kiwi    4096 juin  27 00:51 DEBIAN
-rw-rw-r-- 1 kiwi kiwi   36864 avril 12 01:21 ExpressionEvaluation.dll
-rw-r--r-- 1 root root    1612 juin  27 01:00 groups.xml
-rw-r--r-- 1 kiwi kiwi  206336 avril 12 01:21 HomeGenie.exe
-rw-r--r-- 1 kiwi kiwi     192 mars  27 12:34 HomeGenie.exe.config
-rw-r--r-- 1 kiwi kiwi  178664 avril 12 01:21 homegenie_factory_config.zip
-rw-rw-r-- 1 kiwi kiwi  456704 avril 11 17:37 HomeGenieManager.exe
-rw-rw-r-- 1 kiwi kiwi     256 avril 11 08:47 HomeGenieManager.exe.config
-rw-rw-r-- 1 kiwi kiwi  142336 avril 12 01:21 HomeGenieService.exe
-rw-rw-r-- 1 kiwi kiwi    1230 mars  27 12:34 HomeGenieService.exe.config
-rw-r--r-- 1 kiwi kiwi    5120 juin  27 01:01 homegenie_stats.db
-rw-r--r-- 1 kiwi kiwi    7680 avril 11 08:42 HomeGenieUpdater.exe
-rw-r--r-- 1 kiwi kiwi     184 mars  27 12:34 HomeGenieUpdater.exe.config
drwxrwxr-x 9 kiwi kiwi    4096 juin  27 00:51 html
-rw-rw-r-- 1 kiwi kiwi 2064896 mars  27 12:34 IronPython.dll
-rw-rw-r-- 1 kiwi kiwi  755200 mars  27 12:34 IronPython.Modules.dll
-rw-rw-r-- 1 kiwi kiwi 1159680 mars  27 12:34 IronRuby.dll
-rw-rw-r-- 1 kiwi kiwi  870400 mars  27 12:34 IronRuby.Libraries.dll
-rw-rw-r-- 1 kiwi kiwi  157696 mars  27 12:34 IronRuby.Libraries.Yaml.dll
-rw-rw-r-- 1 kiwi kiwi  223744 avril  1 13:32 Jint.dll
-rw-r--r-- 1 kiwi kiwi   37860 déc.  15  2013 libbcm2385.so
-rw-r--r-- 1 kiwi kiwi   30169 déc.  15  2013 libbcm2835.so
-rw-r--r-- 1 root root  163934 juin  27 01:02 libCameraCaptureV4L.so
lrwxrwxrwx 1 root root      28 juin  27 00:51 liblirc_client.so -> /usr/lib/liblirc_client.so.0
-rw-r--r-- 1 kiwi kiwi  164864 déc.  15  2013 LibUsbDotNet.dll
-rw-r--r-- 1 kiwi kiwi    1619 mars  27 12:34 LICENCE.TXT
-rw-r--r-- 1 kiwi kiwi     167 janv. 24 18:57 lircconfig.xml
-rw-r--r-- 1 kiwi kiwi  295326 déc.  15  2013 lircremotes.xml
drwxr-xr-x 2 root root    4096 juin  27 00:51 log
-rw-rw-r-- 1 kiwi kiwi 1228288 mars  27 12:34 Microsoft.Dynamic.dll
-rw-rw-r-- 1 kiwi kiwi  169472 mars  27 12:34 Microsoft.Scripting.dll
-rw-rw-r-- 1 kiwi kiwi  106496 mars  27 12:34 Microsoft.Scripting.Metadata.dll
-rw-r--r-- 1 kiwi kiwi  122368 avril 11 17:37 MIG.dll
-rw-r--r-- 1 kiwi kiwi   87871 avril 11 16:51 modules.xml
-rw-r--r-- 1 kiwi kiwi     177 déc.  15  2013 modules.xml_empty
-rw-rw-r-- 1 kiwi kiwi   32768 mars  27 12:34 NCrontab.dll
-rw-r--r-- 1 kiwi kiwi  481792 mars  27 12:34 Newtonsoft.Json.dll
drwxr-xr-x 2 kiwi kiwi    4096 juin  27 00:51 programs
-rw-r--r-- 1 kiwi kiwi  181413 avril 12 01:21 programs.xml
-rw-r--r-- 1 kiwi kiwi   44544 avril  2 12:14 Raspberry.IO.Components.dll
-rw-rw-r-- 1 kiwi kiwi    5120 avril  2 12:14 Raspberry.IO.dll
-rw-r--r-- 1 kiwi kiwi   45056 avril  2 12:14 Raspberry.IO.GeneralPurpose.dll
-rw-r--r-- 1 kiwi kiwi   10752 avril  2 12:14 Raspberry.IO.InterIntegratedCircuit.dll
-rw-r--r-- 1 kiwi kiwi    7680 avril  2 12:14 Raspberry.IO.SerialPeripheralInterface.dll
-rw-r--r-- 1 kiwi kiwi   11264 avril  2 12:14 Raspberry.System.dll
-rw-r--r-- 1 kiwi kiwi   43198 avril 12 01:21 README.TXT
-rw-r--r-- 1 kiwi kiwi    1145 avril 12 01:21 release_info.xml
-rw-rw-r-- 1 kiwi kiwi    1266 avril  2 12:14 scheduler.xml
-rw-r--r-- 1 kiwi kiwi   10240 avril 11 17:37 SerialPortLib.dll
-rw-rw-r-- 1 kiwi kiwi   22016 avril 11 17:37 SerialPortLib.pdb
-rw-r--r-- 1 kiwi kiwi  599419 déc.  15  2013 sqlite3.dll
-rw-r--r-- 1 kiwi kiwi    1591 déc.  15  2013 start.html
-rwxr-xr-x 1 kiwi kiwi     301 juin  27 00:51 startup.sh
-rw-r--r-- 1 root root    4730 juin  27 00:58 systemconfig.xml
-rw-r--r-- 1 kiwi kiwi  159232 déc.  15  2013 System.Data.SQLite.dll
-rw-r--r-- 1 kiwi kiwi   10240 avril 11 17:37 TcpClientLib.dll
-rw-r--r-- 1 kiwi kiwi   14848 avril 11 17:37 TUIOLib.dll
-rw-rw-r-- 1 kiwi kiwi  164352 avril 11 16:51 Ude.dll
-rw-r--r-- 1 kiwi kiwi  294912 mars  27 12:34 UPnP.dll
drwxr-xr-x 2 kiwi kiwi    4096 juin  27 00:51 v4l
-rw-r--r-- 1 kiwi kiwi   10240 avril 11 17:37 W800RF32.dll
-rw-r--r-- 1 kiwi kiwi   28672 avril 11 17:37 XTenLib.dll
-rw-r--r-- 1 kiwi kiwi   42496 avril 11 17:37 ZWaveLib.dll
root@deb7HG:/usr/local/bin/homegenie#

I also notice that in the menu "configurer->scenarios" there is no program list in any scenarios folder. For example in "configurer->scenarios->scenes" I should find the program lists "group light on", "group light off", "Ping me at home",...
But on linux HG "configurer->scenarios->scenes" is empty.

Kiwi

June 28, 2014, 03:27:46 PM
Reply #4

nolio

  • *****
  • Information
  • Global Moderator
  • Posts: 544
Hi,
Your right on HG dir seems good.
Your empty scenario doesn't sound good. did you try to install HG again ?
Bye

June 28, 2014, 04:26:06 PM
Reply #5

pmowry911

  • *
  • Information
  • Newbie
  • Posts: 21
both device node4 and node5 revert back to Zwave node4 and Zwave node5 with the "Prise de courant" type (the default type when you add a Zwave device). Moreover the name of the device are reset to empty.

I think this is a mono version issue.  I'll look back at my issues to see the fix....

Edit:
  All I can find on my old posts: after upgrading to 343 I could not rename a z-wave switch.  Reverting Newtonsoft.Json.dll back to the 327 version I had around fixed the issue on Ubuntu 12.04.4 LTS (GNU/Linux 3.2.0-59-generic-pae i686)

But I do not think that is really the fix anymore.  Did you install sudo apt-get install libmono-system-web4.0-cil ?
« Last Edit: June 28, 2014, 04:49:36 PM by pmowry911 »

July 05, 2014, 01:06:36 AM
Reply #6

kiwi799

  • *
  • Information
  • Newbie
  • Posts: 10
Hi,
Your right on HG dir seems good.
Your empty scenario doesn't sound good. did you try to install HG again ?
Bye

Yes I tried to reinstall HG on Debian7, Debian6, Ubuntu12. And all have the same issue.
My installation method is:
1. install OS.
2. sudo apt-get install gdebi
3. sudo gdebi homegenie-beta_1.00.374_all.deb

Kiwi

July 05, 2014, 01:09:22 AM
Reply #7

kiwi799

  • *
  • Information
  • Newbie
  • Posts: 10
both device node4 and node5 revert back to Zwave node4 and Zwave node5 with the "Prise de courant" type (the default type when you add a Zwave device). Moreover the name of the device are reset to empty.

I think this is a mono version issue.  I'll look back at my issues to see the fix....

Edit:
  All I can find on my old posts: after upgrading to 343 I could not rename a z-wave switch.  Reverting Newtonsoft.Json.dll back to the 327 version I had around fixed the issue on Ubuntu 12.04.4 LTS (GNU/Linux 3.2.0-59-generic-pae i686)

But I do not think that is really the fix anymore.  Did you install sudo apt-get install libmono-system-web4.0-cil ?
When I try "sudo apt-get install libmono-system-web4.0-cil" I have a message saying that it is already in the latest version. So no I did not install it.
I also tried "sudo apt-get install mono-complete",it installed successfully. But HG has the same issue.

July 06, 2014, 12:05:00 PM
Reply #8

kiwi799

  • *
  • Information
  • Newbie
  • Posts: 10
hello,
It may be issue with version of Mono.
My problem is solved by using Ubuntu Server 14.
Thanks to all.