Recent Posts

Pages: 1 2 [3] 4 5 ... 10
21
Users / Re: Adding zwave lights
« Last post by CentralMedia on October 28, 2018, 06:22:52 pm »
I tried the automation -> zwave, what I am seeing is attached, just telling me message.

When I plug in the device, I do get the wizard, but it keeps saying the device times out. Before I restarted, was getting message timeouts in the zwave log

Timeouts Before Restart

with device <0xb4fffb40>
05      10/28/18 12:39:11.156           ZWInterface::OnNotification() : Type_ControllerCommand: State Command has completed succe
ssfully <0xb4fffb40>
05      10/28/18 12:40:32.818           ZWInterface::OnNotification() : Message timed out, node 4 <0xb4fffb40>
05      10/28/18 12:41:33.845           ZWInterface::OnNotification() : Message timed out, node 4 <0xb4fffb40>
01      10/28/18 12:42:06.000           AlarmCallback(): trying to revive node 2 for the 1 time <0xb6d77b40>
05      10/28/18 12:42:07.024           ZWInterface::OnNotification() : Message timed out, node 2 <0xb4fffb40>
01      10/28/18 12:42:10.000           AlarmCallback(): trying to revive node 5 for the 1 time <0xb6d77b40>
05      10/28/18 12:42:11.000           ZWInterface::OnNotification() : Message timed out, node 5 <0xb4fffb40>
05      10/28/18 12:42:34.886           ZWInterface::OnNotification() : Message timed out, node 4 <0xb4fffb40>
05      10/28/18 12:43:35.913           ZWInterface::OnNotification() : Message timed out, node 4 <0xb4fffb40>
05      10/28/18 12:44:36.967           ZWInterface::OnNotification() : Message timed out, node 4 <0xb4fffb40>
05      10/28/18 12:45:37.990           ZWInterface::OnNotification() : Message timed out, node 4 <0xb4fffb40>
05      10/28/18 12:46:39.017           ZWInterface::OnNotification() : Message timed out, node 4 <0xb4fffb40>
05      10/28/18 12:47:40.259           ZWInterface::OnNotification() : Message timed out, node 4 <0xb4fffb40>
05      10/28/18 12:48:41.404           ZWInterface::OnNotification() : Message timed out, node 4 <0xb4fffb40>
05      10/28/18 12:49:42.436           ZWInterface::OnNotification() : Message timed out, node 4 <0xb4fffb40>
05      10/28/18 12:50:43.491           ZWInterface::OnNotification() : Message timed out, node 4 <0xb4fffb40>
05      10/28/18 12:51:44.532           ZWInterface::OnNotification() : Message timed out, node 4 <0xb4fffb40>
05      10/28/18 12:52:45.604           ZWInterface::OnNotification() : Message timed out, node 4 <0xb4fffb40>
05      10/28/18 12:53:46.644           ZWInterface::OnNotification() : Message timed out, node 4 <0xb4fffb40>
05      10/28/18 12:54:47.692           ZWInterface::OnNotification() : Message timed out, node 4 <0xb4fffb40>
05      10/28/18 12:55:48.752           ZWInterface::OnNotification() : Message timed out, node 4 <0xb4fffb40>
05      10/28/18 12:56:49.807           ZWInterface::OnNotification() : Message timed out, node 4 <0xb4fffb40>
05      10/28/18 12:57:50.888           ZWInterface::OnNotification() : Message timed out, node 4 <0xb4fffb40>
05      10/28/18 12:58:51.922           ZWInterface::OnNotification() : Message timed out, node 4 <0xb4fffb40>
05      10/28/18 12:59:52.952           ZWInterface::OnNotification() : Message timed out, node 4 <0xb4fffb40>
05      10/28/18 13:00:53.996           ZWInterface::OnNotification() : Message timed out, node 4 <0xb4fffb40>



What I see after restart

05      10/28/18 12:59:52.952           ZWInterface::OnNotification() : Message timed out, node 4 <0xb4fffb40>
05      10/28/18 13:00:53.996           ZWInterface::OnNotification() : Message timed out, node 4 <0xb4fffb40>
== ATTEMPT FRESH START ==
1       10/28/18 13:02:44       /usr/pluto/bin/Spawn_Device.sh 42 (spawning-device)     18535 Dev: 42; Already Running list: 15,16,17,18,27,37,
== FRESH START ==
1       10/28/18 13:02:44       /usr/pluto/bin/Spawn_Device.sh 42 (spawning-device)     device: 42 ip: localhost cmd_line: ZWave
0       10/28/18 13:02:44       42 (spawning-device)    Entering 42
========== NEW LOG SECTION ==========
1       10/28/18 13:02:44       42 (spawning-device)    Starting... 1
1       10/28/18 13:02:44       42 (spawning-device)    Found /usr/pluto/bin/ZWave
05      10/28/18 13:02:44.210           Creating child 43 <0xb6d5a700>
05      10/28/18 13:02:44.210           Note: Device manager has attached a device of type 1820 that this has no custom event handler for.  It will not fire event
s. <0xb6d5a700>
05      10/28/18 13:02:44.210           Note: Device manager has attached a device of type 1820 that this has no custom handler for.  This is normal for IR. <0
xb6d5a700>
05      10/28/18 13:02:44.210           Creating child 44 <0xb6d5a700>
05      10/28/18 13:02:44.210           Note: Device manager has attached a device of type 1922 that this has no custom event handler for.  It will not fire event
s. <0xb6d5a700>
05      10/28/18 13:02:44.210           Note: Device manager has attached a device of type 1922 that this has no custom handler for.  This is normal for IR. <0
xb6d5a700>
2018-10-28 13:02:44.248 Info, Reading /etc/openzwave/options.xml for Options
2018-10-28 13:02:44.248 Info, Reading /etc/openzwave/options.xml for Options



Tried adding a light manually a few days back, no luck either, possible got it incorrect.
22
Users / Re: disk md
« Last post by Gavlee on October 27, 2018, 03:35:30 pm »
Yes a few things have changed from under, I should be careful because saying easy fix nearly always ends up a lot of workarounds.

The network setting not being in /etc/network/interfaces is a quick fix on the MD really, just 2 lines in the file. Though doing this for a lot of MD is impractical IMHO. Looking at the problem for a little while, I think it could be patched in the mkr_postinst.sh because there should be a network up when the package is installed, so inserting the interface for the currently default route is one way to work around it.

Not had a chance to look at the firstboot scripts in length yet, I assume they are for when the machine boots next and doing the setup for the MD.  On the next boot the network has gone so I assume postinst is the only place to do it, even though it feels like a bit of a hack.

I have a patch to do this in the postinst anyway but not tested it yet, going off topic here my time has been spent working on some extra build scripts for LinuxMCE to provision a bare machine into a LinuxMCE development environment and produce various container/vm images. I did this so allows me to test the current patches I have submitted and try to start developing some features I would like to have, ok dreaming a lot here :)

I nearly didn't see the post on the next page about a new wiki page but I started on one locally anyway, the workarounds for network maybe should have a new ticket on gitlab rather than being in the wiki if this can be fixed in the code, I don't mind doing both.

Thanks for support.
23
Users / Re: Adding zwave lights
« Last post by pointman87 on October 24, 2018, 01:56:11 pm »
In the LMCE web admin and the top menu Automation > Advanced ZWave, use the button Add device. That how i always have done with great success.

BR Daniel
24
Users / Re: Adding zwave lights
« Last post by Gavlee on October 23, 2018, 02:41:39 pm »
That's it!

I have the same, the lights are controlled by the parent ZWave device here.

Here is a paste of one of my lights in Wizard > Devices > Lights

(some dimmer)
Device #: 170
Device Template #: 38
Controlled by: ZWave

In the LMCE web admin and the top menu Automation > Advanced ZWave will show more info.

Sometimes in the past I have had to delete all those devices you pasted after messing around to force re-reading, then remove the usb stick and rebooted. you will have to add everything again but if things go crazy that is a sure fire way to start over after resetting all the devices but only do that as a last resort. Things work for me here now so I haven't done that for a while, sometimes it takes some time for Zwave settings to stick I think I just had to keep trying until I got it working.

Edit: if you want lots of info you can also do this

tail -f /var/log/pluto/${your_parent_ZWave_device_number}_ZWave.log

Or connect to the screen session that is running for the device; screen -ls
that can be of great help in finding problems.


25
Users / Re: Adding zwave lights
« Last post by CentralMedia on October 23, 2018, 01:00:56 am »
Quick Verification

I am seeing tree (3) devices added for my zwave controller, see below. Should there be a Device for "ZWave Embedded Light Interfa"?
Device 45 -> Device Template #: 1754  Seems default device
Device 46 -> Device Template #: 1820 (ZWave Embedded Climate Interfa)
Device 47 -> Device Template #: 1922 (ZWave Embedded Security Interf)
26
Users / Re: Adding zwave lights
« Last post by CentralMedia on October 22, 2018, 11:33:35 am »
Thanks

I had followed the procedure to include devices, only did one so far, out of four I have, a new GE switch.

Will try your suggestion on excluding and re-including, as had already rebooted the core, when I saw nothing come up to add the light, after including the light and plugging it back into the USB port on the core. That time, it only detected the controller again. On the reboot, it brought up the setup wizard, but no lights were added.

27
Developers / Trouble pushing to Gitlab in my userspace repo
« Last post by Gavlee on October 22, 2018, 04:33:36 am »
Hello

Sorry to be a pain.

I have made a test repo in my userspace on the Gitlab, I tried pushing a few test commits to it to see about getting started but  it looks like they are not showing up. The first two commits seemed to push fine from the command line but nothing is showing up when I look at the repo through Gitlab. I tried even making a commit through the web using Gitlab but the commit I made creating a new file did not complete saying the branch diverged. Do I need to commit on a branch other than master or something, or do I need elevated privileges - I am currently a Reporter.

Not sure what to do now any help greatly appreciated.

Thanks.

Gav

Edit: The repo here should have two commits https://git.linuxmce.org/Gavlee/test
The reason I did a new repo and not a fork: I am in the middle of writing a wrapper around the buildscripts to try to make building LinuxMCE on foreign operating system easier. A new repo looks like the easiest and less invasive way to do it that is all.

Edit 2: The commits I made in the test repo are now visible, so thank you very much for the privilege and sorry for the bother.
28
Users / Re: Adding zwave lights
« Last post by Gavlee on October 22, 2018, 03:35:37 am »
Hello

I have the same Z-wave stick.

From trial and error and off the top of my head, the way i include devices is take the stick out of the host computer, go to the device one wishes to include, press the button on the stick until it flashes indicating inclusion mode, put the light or other device into inclusion mode. Once the devices are included the usb stick should flash more rapidly telling that the inclusion was successful.

If this is a light, some lights do not have an inclusion button. With this all I did was fit the light but before turning it on, bring the usb stick to the light you want to include, put the stick into include mode then turn the light on. This should include the device.

Sometimes I have had trouble including devices or things get messed up. if you have problems, try excluding all the devices first, by this i mean put the controller and device into exclusion mode, this is a long press and hold on the remote and it should flash differently, the same process above for inclusion but excluding the device and start over again including them. Most devices are different on how they are included/excluded so check the manual of each device for more details. My last light didn't come with any so I had to figure it out..

A last resort is resetting the controller from the "Soft reset controller" in the Advanced ZWave page of the lmce admin. then deleting the ZWave devices. Note that this doesn't automatically exclude the devices, lights, sensors that have been included so those devices need to be excluded even after a reset of the controller

So if you have any problems I would try excluding the devices first and starting over. If the device has been used with a previous controller, try excluding it with that first and including with the new one.

I have reset the controller before this will remove all the devices the stick remembers, but the devices seem to remember and you also have to exclude them first. Remember to quick reload router.. Sometimes you will need to reboot if there is a problem and ZWave gets stuck.

Sure someone with better knowledge will chime in :)

HTH
Gav

EDIT: I knew I had something wrong. The part about Soft reset isn't right, I had to enter a specially crafted command to send to the device which did a hard reset but I cannot remember that off hand. Still the exclusion or reset of other devices needs to be done.
29
Users / Adding zwave lights
« Last post by CentralMedia on October 22, 2018, 12:28:17 am »
Sometime back, I had a aeotec labs usb stick and used to include my lights via the built in inclusion remote on it.

I have been inactive for sometime,  but re-attempting to add some lights with the new gen 5 stick (Aeotec Z-Stick Gen5), seems I am doing something incorrect , not showing up.

Looking at the following link (http://wiki.linuxmce.org/index.php/ZWave), is it now, you should use an inclusion remote?

Is it, you can't used the built in inclusion remote in the stick (Aeotec Z-Stick Gen5) I am using?
30
Users / Re: disk md
« Last post by phenigma on October 20, 2018, 04:08:06 am »
And yes, please make a new page!

Sent from my Pixel using Tapatalk

Pages: 1 2 [3] 4 5 ... 10