Get rid of demo noise in logs, and get Aeon labs Z-stick working

  • Hardware: raspberryPI 3 + Aeon Labs Z-stick gen 2
  • OS: Linux openHABianPi 4.9.59-v7+ #1047 SMP Sun Oct 29 12:19:23 GMT 2017 armv7l
  • Java Runtime Environment: n/a?
  • openHAB version: 2
  • Issue of the topic: Getting started, remove demo and get Z-stick working

OpenHAB seems cool and all, but I can’t get the basics working.

I chose the demo mode, and I think it added a lot of stuff, and noise to the logs like this:

2018-02-23 22:53:20.015 [vent.ItemStateChangedEvent] - Wifi_Level changed from 3 to 2
2018-02-23 22:53:20.025 [vent.ItemStateChangedEvent] - ImageURL changed from http://www.placecage.com/320/240 to http://www.placecage.com/g/320/240
2018-02-23 22:53:30.030 [vent.ItemStateChangedEvent] - ImageURL changed from http://www.placecage.com/g/320/240 to http://www.placecage.com/640/480
2018-02-23 22:53:41.723 [vent.ItemStateChangedEvent] - Wifi_Level changed from 2 to 1

Where do I remove all demo things, so I get a clean start, without having to reinstall everything?

I commented out package = demo in /var/lib/openhab2/etc/org.openhab.addons.cfg and restarted but everything seems to still be there.

I have paired a Fibaro Wall plug with the Aeon labs Z-stick, but I find it hard to figure out where to find it in PaperUI, HABmin or anywhere else, due to all the noise/things everywhere.

In HABmin > Configuration > Bindings / Devices there is nothing, in things, there are somewhere around 100 things, which confuse me. When I try to delete, nothing happens.

My Wall plug didn’t show up in PaperUI > Inbox either. I have the stick connected, and it seems to have paired with the plug, by looking at how the LEDs blink.

When I try to remove anything from PaperUI > Configuration I get ERROR: 404 not found

Where do I find the wall plug, and how to I get rid of the demo things without reinstalling?

Thanks!

I think I would wipe it clean and start with a different configuration, BasicUI, Expert. I don’t know what issues are out there, but there was one back in '16 that wouldn’t allow things to be cleared. I suggest getting used to searching the site. The Community is very helpful, but if someone doesn’t show the initiative to want to search/find/learn then a post will go unanswered. I will guarantee every question you will ask for the first 6 months of your experience has already been posted. Grab a beer and use that Magnifying glass up top.

https://docs.openhab.org/v2.1/tutorials/demo.html

http://docs.openhab.org/v2.1/tutorials/beginner/

Thanks for the quick reply, I might do a reinstall. I just found the z-wave binding and will do some tests with that. Then when I know how stuff works, I can start over… :slight_smile:

I have googled a lot, and often end up on this site, but couldn’t find a working way how to delete the demo files. Someone said “delete demo.things”, but I don’t know in what folder those are, but I might figure it out later…

Thanks for the tutorial links!

I finally made progress! All files were in /etc/openhab2 and i deleted items/demo.items and sitemap/demo.sitemap. Now I regret it a little as it would be good to look at them, hehe. Will try to find some source online.

Openhab seems to be really neat once you get the hang of it!

1 Like

the offending item is the demo.rules i just commented out the top 5 or so lines so it wont go to the internet every 5 seconds.

/**
*var Timer timer = null
*val resList = newArrayList(“640/480”, “320/240”, “480/360”)
*val urlList = newArrayList(“https://www.fillmurray.com”, “https://www.fillmurray.com/g”,

  •             "https://www.placecage.com", "https://www.placecage.com/c", "https://www.placecage.com/g")
    

*val Random random = new Random()
*/