-
Hi,
I’ve got a few Lua scripts that I’d like to run periodically on my Pi, and I’ve tried to get them to run via Cron, but I can’t seem to get them to work..
Does anyone have anything similar set up that works ?
Crontab -eI’ve tried it a couple of ways based on the forum posts I’ve read, but neither have worked..
0 0 * * * home/pi/shared/TS_cabin_graph_email_24h.lua 0 0 * * * /usr/bin/lua /home/pi/shared/TS_cabin_graph_email_24h.lua -
Some of you may know that I took at shot at building an alternate geofencing solution for Vera. The core of it was system agnostic, using the OwnTracks application and AWS lambdas to track devices and keep a central data, then disseminate that to the Vera via a websocket-based plugin. It worked with other apps as well, including Tasker and GPSLogger, but of the dozen people that were testing it, most used OwnTracks.
A lot was learned in the process, not the least of which is that the success of any such solution is highly dependent on the phone and its settings. Phone manufacturers love to set things up for the longest battery life, of course, but that's usually very anti-geofencing behavior. In the case of at least one brand, it was unusable and the settings could not be modified. It was also cost-prohibitive to maintain on Amazon, as AWS grabs a dime here and a dollar there and before you know it, it added $100/month to my AWS bill, which my wife deducted from my Scotch budget. Unacceptable.
But it's quite reasonable to use OwnTracks to a local endpoint, and I could pretty easily replicate the functionality as a local application, or maybe even as an additional endpoint built into MSR's API (still separate port and process, but in the package).
So the question really is... would you do it, or would you be too concerned about the security risks associated (e.g., dynamic DNS and NAT mapping in the firewall necessary for the phone to contact the service when not on LAN)?
-
Installed Sitesensor yesterday. Defined a http request towards yr.no for the weather.
Default it only sends requests when the device is armed. When I armed the sensor both of my sirens started bleeping. Not funny with at night with two kids asleep.Simultaneous with arming the device, the first http request probably is send and my first http request did not have the Useragent http header so the result was a 403; this probably made the sitesensor device being triggered.
I unchecked the box "only send requests when armed" and disarmed the sitesensor. This works ok but only one slight mistake with thick fingers and I have armed it again.
I see the sitesensor device is being configured as a SecuritySensor (as it implements the securitysensor serivce?). This makes that sirens react when the sitesensor trips. I have a leakage sensor as well and I know this one triggers the sirens as well. Do not have any doorsensors right now but hope these will not trigger sirens as well.
Is there a way to tell Sirens to ignore Sitesensor and/or other specific devices. Or should sitesensor not be configured as a security device?
Is there an easy solution?Grtz Swiddy
Some details:
-Vera Secure box with built in siren (siren is a separate device)
-POPP Smokedetector with siren
-Upto-date with Vera firmware and Not on Openluup yet but don't think this would make a difference here -
Yet another attempt to create the one standard to rule them all. "The ring of power".
What Is “Project Connected Home Over IP” for Smart Homes? What Is “Project Connected Home Over IP” for Smart Homes?Project Connected Home over IP is a new industry group announced by Apple, Google, Amazon, and the ZigBee Alliance. The group will create a new unifying standard for smart home devices, and that’s a big deal. Here’s why.
I am very skeptical about this. I don't feel it is needed and I think it will only add to the confusion but I am probably not a typical consumer. Thoughts? It seems to want to do the same thing as what a lot of us have already achieved through open source but commercializing it. It's not so different from Apple's HomeKit.
-
Evening (at least here)
2021-02-12 18:05:02.869 luup_log:0: ALTUI: runLua(local GardenTemp = math.floor(0.5+luup.variable_get("urn:upnp-org:serviceId:TemperatureSensor1", "CurrentTemperature", 20415)) luup.call_action("urn:dlna-org:serviceId:DLNAMediaController1", "Say", {Text="The temperature outside is" ..GardenTemp.. "degrees.",Volume=40,GroupZones="Everywhere"}, 22)) 2021-02-12 18:05:02.870 luup.call_action:: 22.urn:dlna-org:serviceId:DLNAMediaController1.Say 2021-02-12 18:05:02.870 luup_log:22: VeraAlexa: addToQueue: added to queue for 22 2021-02-12 18:05:04.035 luup_log:0: ALTUI: Evaluation of lua code returned: nil
Alexa TTS has suddenly stopped here (mid afternoon)
Normally I'd replace the cookie.
When I went to the domain, I was forced to change my password. Did that and exported the cookie. But still no voice.
I can't see anything at all in the logs:But I'm sure I need to look somewhere else and damned if I can recall where. Someone give me a pointer?
TIA
C
-
Hi all. Well winter is coming and temperatures are below freezing. I currently have this snippet of Lua:
local GardenTemp = math.floor(0.5+luup.variable_get("urn:upnp-org:serviceId:TemperatureSensor1", "CurrentTemperature", 20415)) luup.call_action("urn:dlna-org:serviceId:DLNAMediaController1", "Say", {Text="The temperature outside is" ..GardenTemp.. "degrees.",Volume=40,GroupZones="Everywhere"}, 22)When we turn the house on. Anyone help me to get it to say 'negative' or 'minus' when the temperature is actually sub-zero?
TIA
C
-
I've only recently read that ZLR is not a mesh network, below is quoted from Dr Zwave, which I found interesting and opens up a range of questions. I had assumed that ZLR was similar to ZWP, but it isn't.
Z-Wave Long Range supports FLiRS types of devices but it doesn't support Associations. Z-Wave Long Range is a star network so all communication has to go thru the hub. Then the hub forwards the message on to the FLiRS device after Beaming to wake it up. There is no way for a Long Range end device to send a frame to another end device, it has to go thru the controller.
I found it interesting that Associations have been given the 'flick'
My question is regarding the compatibility of ZWP & ZLR in the same network.
From my understanding ZLR devices can't communicate directly with ZWP devices, this could get interesting as it seems to indicate that there is no backward compatibility.
Perhaps Z-Wave has abandoned Mesh networks and is working towards simpler systems?
Any thoughts? -
Hi,
I hope this is the correct place to ask. I wanted to start with developing smart home systems where I use a raspberry pie as a server and communicate through a phone or tablet.
But I do not know where to and how to start, I have knowledge in developing Web Application, Java and a bit react native.But which Development Language is good for smart home development? Would it be possible to achieve smart home projects with Webapplication and smarthphone app if they communicate with the same server?
Which additional knowledge do I need except development language? I looked on the internet a bit, but kinda got lost with all the information in it right now about smart home.
-
Hi
Go with me here... I recently pick up a unresponsive Vera Secure from eBay for next to nothing, thinking I’d could have a go at trying to restore it, if only as a play thing..
Situation - The power led comes on, but the internet and service leds just flash - no connection made (and even using a direct cable and Wireshark, I can’t see an arp request being made to see if it has a default in address) - I’ve also tried various reset button combinations - no luck.
Perhaps this post is a long shot, but seeing so many familiar ex Micasaverde/Vera forum names - i thought I’d at least ask - just in case anyone had any guidance/advice etc. I could use ..
-
Hi!
I was tipped off about this forum while bitching about my Vera on the Vera forum, as I had grown accustomed to over the years. I know that's not very nice, but that thing brings out the worst in me (and has even driven me to drink on occasions 😉 )!
Anyway, how about a little intro in case anyone is actually interested? I did odd jobs, saved up for and built my first PC from components by the time I was 15 (back when you had to know how to get around a DOS prompt and a 120Mb hard drive was a big deal). Within 6 months I had my own BBS up and running. The internet wasn't really a thing back then -- did AOL really count? I only really discovered home automation almost a decade later, again before it had really taken off. Back then I was using X10 because it was still one of the only consumer options and I had no electronics background. Over the years I have experimented with several home automation technologies, 90% of them ending up as useless scrap and a waste of money. Today I feel like not much has changed, but things are moving in the right direction (wide scale adoption -> more money invested in improving tech to try to get us to part with our money, am I right?). I've never really had the funds to go all out or to get the more expensive gear, but I've found some products that have been worth sticking with -- namely my Elk-M1G and one or two other obscure devices. I recently was "renovicted" during the pandemic and decided to move from my modest apartment in the city to a house out in the woods in the middle of nowhere.
So here I am, with an almost clean slate, looking to set this place up better than ever. The internet access sucks out here, but the house is mine to do what I will with it. I envision a keyless entry system even better than the last one I devised, walls that literally talk and eventually even roboticized structure & furniture (eg. Aquarium lids that rise for maintenance, hidden doors that slide open, a table that transforms into a bar, etc.).
For the moment, though, I'd like to figure out how to replace this *&$%ing Vera. Funds have been tight lately, but at the moment I have several pieces of hardware I can start with: The Elk (as mentioned), ~20 LIFX bulbs/strips, a handful of Amazon Echos, a few Zwave devices, some IR and audio stuff, the Vera, a few other odds and ends.
Ultimately, I'd like to set up a low-power system like a NUC or something that will always be on, running automation as well as handling audio (most likely multi-zoned). I built my last PC as a gaming PC, but I can use it to experiment until I'm ready to purchase an HA system.
Where do I start if I want to learn about OpenLuup? I skimmed through the forums, but they seem quite advanced and are a little beyond my abilities. I do CAD/CAM, not programming, unfortunately!
Thanks!! -
654a0b44-6cec-4466-8701-3566067abbd0-image.jpeg https://www.google.co.uk/url?sa=i&url=https%3A%2F%2Fpanic.com%2Fblog%2Fpanic-status-board-2013-edition%2F&psig=AOvVaw1ERsyah34ZkmLnpWaYLgu-&ust=1600418906446000&source=images&cd=vfe&ved=0CAIQjRxqFwoTCODol5Xn7-sCFQAAAAAdAAAAABAE
I’ve always liked the idea of having a screen, located somewhere in the house that would allow me to see the status of pretty much everything. (Hardware wise I’m just think of a basic Rasp Pi, fixed to a vesa mount, screwed to the back of an old monitor screen)
I’ve tried a number of tools/apps over the years, one of which was PanicBoard (where the above image comes from) - which seemed to have some potential, but the owners stopped developing/investing in that a while back.
What are people using ?
Is there something, perhaps a single tool/app that this community would collectively support/promote, one that no matter what HA you used, you could submit information to and have it displayed ?
**** Just to be clear, I’m referring to status/information boards, not a touch based, control board where you can turn things on/off etc..***
-
-
Not sure this is in quite the right place (again) but I have a device that exists in z-way that I simply cannot remove. It seems to be a zombie. I have no idea what it was.
It claims to be a routing binary sensor that has not woken up since August
I go through the 'Only do this if your device is broken' and it simply will not go.
Any ideas (apart from ignore it)?Cheers
C
-
Hi all
Possibly a long shot - but does anyone know of a way, (maybe you have some code or know of an app) that can help you discover the IR codes of a device when you’ve lost the remote?
Looking online there seems to be a growing number of IR banks, yet I can’t find anything on the market that could cycle through a huge set of different codes (e.g just the power on/off) to let me know which ones are compatible ?
When you consider so many things these days are made in the same place, and often thing can just be re/badges versions of other items - it’s likely that a sets of codes for one branded product will work in the most part with another ..
-
Since one member asked at one point about the "front end" and "back end", I drew this showing the controller from the base to the tip along with what I have found to be the best options from my testing. Almost every controller will try to integrate all elements, especially commercial ones but... they all have strengths and weaknesses so if one can have a medley of the best ones...
-
Hi all. Looking for some guidance as ever
This
luup.inet.wget('https://api.telegram.org/bot1225075966:AAHS5rwhCpOx0hwq3mOnNjtCSKiDeAS6B4/sendMessage?chat_id=@Coalport58&text=House mode is home')Works fine
This
luup.inet.wget('https://api.telegram.org/bot1225075966:AAHS5rwhCpOx0hwq3mOnNjtCSKiDeAS6B4/sendMessage?chat_id=@Coalport58&text=House mode is Home')Throws a 400 error:
openLuup.client:: WGET error status: 400I have munged the bot key to post here, but just changing the 'h' to 'H' breaks it. Any ideas why?
C
-
We are a smart home startup based in England, we are looking for a co-founder/advisor who is good at iot software development.
Many thanks -
-
Is there one? I know TTS is working but suddenly woke up at 0300....
...or does it just use Vera. That seems unlikely from what I know of the architectureTIA
C
-
So, I'm trying to execute the same code I had for years to mount my synology NAS for datamine (I know, old stuff), but I'm getting this:
mount -o user=vera,pass=pass //192.168.1.26/Backups/Vera/datamine /datamine mount: mounting //192.168.1.26/Backups/Vera/datamine on /datamine failed: No such deviceIt used to work until 3 days ago, then I had to factory reset my Vera Plus and now this. Packages are OK:
opkg update opkg --force-depends install kmod-fs-cifs opkg --force-depends install kmod-nls-utf8 kmod-nls-base kmod-crypto-hmac kmod-crypto-md5 kmod-crypto-miscI've already trying anything, with no luck. Any ideas?
I'm bored :D
-
What are the projects you're working on?
Summer is over, and that (unfortunately) means more time indoor and (luckily) more time to build things.
I have almost nothing in my backlog and it's boring
I appreciate a couple of (crazy) ideas.
-
For me I just removed the vera which I used as pure ser2net device for zigbee and replaced it with a conbee 2 stick. The idea is first to consolidate my 2 zigbee network and get rid of the philips hue 2 hub which would enable me to have only 1 zigbee mesh. If this is successful then I would work on bypassing home assistant for zigbee network control and bridge openLuup into deconz.
If you really want a big project, you could look at doing deep neural video processing. This is a very large topic I invested a couple of months on and enabled me to replace video movement detection with specific object detections along with facial recognition. All done locally of course. Coding is done in C or Python. I know that C is right down your alley!
A little further down the road I am thinking about replacing all my amazon echo with a local version likely based on Rhasppy when that project gets a little bit more mature and I find the time and courage to make the jump.
Other than that, everything just works... I have had no need to touch or tinker with anything...
-
My once four, then three, and recently only two-Vera home system is now down to one, with Vera hosting my beloved four-button MiniMote hand Controllers, a few lights, and a couple of meter readers. About to clone this to a UZB and see how that goes. Shelly now doing some switches, lights, and timed thermostats.
I really need a replacement (WiFi) for the MiniMotes, but don’t see anything suitable. May have to make my own (3D printer anyone?)
Other than that, the Prolog-based plugin for openLuup HA logic is coming along very slowly.
Not doing anything right now, though, since we have a power outage (internet runs on UPS.)
-
I invested in a 3D Printer...eventually.
Turns out there not that expensive after all. +1 to a Ender V2. Easy to put together and great youtube support.
The hardest part has been learning CAD- Autodesk, probably should say the most frustrating part, but now fairly conversant and can design complex designs.
That was my winter, now we are looking at Spring & Summer and the end of lockdown.
The EnderV2 is turning out adapters and wall brackets, quality is better than good and is merchantable. -
The problem may be that we are all caught in liminal time due to COVID.
I had thought I would get the Sonos system to issues voice commands to Alexa but I'm not sure what the point would be, except for some idle amusement.
Something else I would like to know; how to calculate the R value (insulation effectiveness) of our house (metric units only please). It seems to me that when you get a step change in the outside weather, which can be a significant step change where I live. Then the inside temperature decays exponentially to meet the new outside temperature. Depending on the R value of the house the decay will be rapid (poor insulation) or slow (good insulation). Any idea how to calculate the R value, given the outside temp step change delta and the inside temperature change that results after x time? A few points: assumes the outside weather changes abruptly. No heat sources inside the house or though windows. Convection of heat may affect results.
-
Lately, I've
- built an integration with SmartBot push buttons (with retry, ack and battery and status report back to luup)
- bought a Kuando BusyLight and integrated into my routine (so, when I'm on a call, it automatically turns to red)
- built an app with integrated notifications on my home PC (dark, entryways, etc) via MQTT.
- built a couple of new wifi-based sensors (light, temp, humidity and distance)
- finished my tablet dashboard
- built a system to track electrical consumption, in preparation for solar
- built a new system to rotate my exterior color lights (milight+hue)
@rafale I'll probably do some image recognition for the cams (I did for a customer, but it was in cloud) and a couple of more sensors.
@akbooer finding a wifi remote is not easy. because wifi isn't really suited for battery operated devices.
@a-lurker summer here in South Italy wasn't bad as I was expecting. we managed to do very good, even if cases are rising again lately. I never got so much spare time for sure, since I used to travel a lot for work (and pleasure) and I'm at home, beach excluded, since my last vacation in Miami+Bahamas in February. I have voice enabled announcements via Alexa and my wife loves them. I have a good insulated house (very new), but I'm not sure it'd be easy to do.
-
@therealdb said in I'm bored
:
because wifi isn't really suited for battery operated devices.
Indeed so. Curiously, this was the promise of ZWave - that is was low power. Ironic, then, then many of the major failings of Zwave (certainly in the Vera world) were based around battery devices (polling, or not, etc.)
There are low power WiFi devices and (single) buttons, but truly hard to find anything more capable. Maybe that's the one things that will keep my Zwave system going (albeit on ZWay, not on Vera.)
-
I would not confuse the vera failures with zwave failures. Battery operated devices operate brilliantly with zwave. Vera's problem was around the background "maintenance" they thought was going to make user configuration easier. It just made it a complete nightmare.
There are now cheap low powered wifi devices but... I would still prefer not to mix up low bandwidth network for home automation with the high bandwidth of wifi as it will (at least until full wifi6 implementation is effective) eat up wifi bandwidth. It is more of a scalability issue than anything else. Once you start having a lot of devices, the wifi band airtime will start getting congested which is why for these types of appliances, I try to avoid wifi. The amount of wifi channels is also very limited as the trend is to broaden channels to allow more per device bandwidth and to also to use more and more channels to support more devices simultaneously...
-
This winter I will work on my project to get small ESP sensor connected to a RPi to warn me if the plans needs some water, in planning for several years. I will also as @therealdb work with the tablet dashboards- And integrate some electronics into my Millenium-Falcon, Tie-fighter models. (Yes, I'm still married)
-
Finally fixed Mrs C's iPhone locator. Adding some more logic now we're actually going out of the house (for a while)
What I'm toying with now is some ideas for
a) Smart shower (assuming I get another job that means I need to get up and get in the shower)
b) IR control for scene setting per my old Philips Pronto and (to a lesser extent) my Harmony. The Harmony hub is the obvs choice, and given my Harmony One is on its last legs this may be first.C