Home Automation Dashboard (HAD)

I ended up starting over. I deleted the database from the Heroku app then basically started over. Fortunately, all of my changes were stored locally in the hadashboard directory so it was trivial to get it up and running once I had decided to nuke my original app.

I’m in the same boat as you.

Motion Paid for, tasker, Secure settings, Rooted tablet.

Motion send events on, tasker first portion set up as per Motion Detector

But the second part of that (where it tells you to define an actual task) doesn’t make sense.

Specifically this. Theres too many options. I cant choose broadcast intent, AND service intent at the same time.

component full name
for Broadcast Intent
org.jastrzab.move.Control

for Service Intent
org.jastrzab.move.Engine

action name
org.jastrzab.move.ACTION_DETECTOR_ON

So I skip that and just use secure settings and tell it to wake screen. But nothing works.

Profile is active in Tasker, Motion detector is on, events are on. WTF.

Can someone that has it working please post your settings within Motion Sensor/Tasker.

edit, after hours of messing with it I finally have it sorta working. Motion is detected, but I get the lockscreen(swipe up to unlock)

I’ve tried various settings in secure settings (keyguard off) and tried several no lockscreen apps on the playstore.

This must be some kindof limitation to the Amazon fire tablet OS.

Perhaps. In native Android you can simply disable the lockscreen entirely without any apps.

1 Like

@Benji found this and linked it in another thread. It’s iOS instead of Android, but it’d still work. Just won’t get the motion to turn things on.

http://www.iportproducts.com/surfacemount#sm-intro

The low voltage/POE source is nice because it skirts around having to run conduit to be up to code in a lot of areas for power.

1 Like

For anyone wanting to get their Android-based wall-mounted dashboards/control panels (whether Home Automation Dashboard, or SmartTiles or other) to turn screen on upon nearby motion in the room, I got it working with a combination of external z-wave/zigbee motion detector, SharpTools (by @joshua_lyon), Tasker and Secure Settings (see here if interested in how I went about it).

Sorry if that’s already been posted here in this thread or if it’s not even what you’re trying to do here, but I just saw the mention of similar concepts in the last few posts, and I figured I’d share.

In my setup, it’s not perfect yet (I had to also create profiles in Tasker to turn it back off, because sometimes, it would just stay on after being triggered, and the timing is a bit slow sometimes for my liking), but at least it’s generally working, and even a partially working system is better than nothing for a lifelong Trekkie. lol

1 Like

Thanks for the idea. In the first few posts there is a method mentioned that utilizes the camera on the tablet, Secure Settings, and another 3rd party app (too lazy to go check), and it worked pretty well for me. Uses battery pretty heavily on the tablet, but you’d hopefully have it plugged in anyway.

You might want to add a water heater timer to your controller. Either gas or electric timers will save yo energy and extend the life of your water heater. There are many electric water heater timers available. There is only 1 gas water heater timer found only on the internet. The do work!

@JTT This works for me on the new 7" Fire tablet:

1 Like

First let me say, AWESOME work to all who have contributed to this application.

Everything is going good so far except for one issue I have ran into that I am totally stumped on. I have created a small SmartApp so that I can group and ] control several Cree smart bulbs and switches with a Simulated/Virtual switch following these instructions:FAQ: Creating a virtual Device

From the mobile app it all works as expected but when I tag the virtual switch in the main.erb file and publish, it shows up on my dashboard but it will no execute. It acts just like one of the default place holders.Here is the lone from my main.erb file:

Anyone have any ideas how to get this working? I read others have similar things like this working, so I am unsure why it is not for me.

UPDATE 01/30/216

Issue SOLVED. Discovered some sort of disconnect within ST that did not properly register the virtual switch to the light group app I created. Once I corrected this by recreating the association between the two, it began working in the dashboard.

Nice! Mine is a bit more simple. Just an android 21" touchscreen monitor using smartiles. I downloaded a kiosk app so it is basically locked on this screen, but the monitor arm used is articulated so it can pull out around the corner to use the web in the kitchen (see recipies etc).

4 Likes

What kiosk app are you using?
I tried a couple, but didn’t like them.

1 Like

@Gadgetman Make a shortcut from the chrome menu and save it to your home screen. Then when you open the page it will hide the browser and be full screen.
Looks nice…

The kiosk program will not allow me to save shortcuts to the homescreen (or I just have not found out how yet). But thanks for the tip!

Mobilock seems to work OK. The android version on this unit is older, but seems to work OK with it.

1 Like

So, if anyone else got the email from heroku about the current ruby version becoming outdated, I’ve updated the app with some key package upgrades to fix this. I will package it up into a pull request for @florianz but for those that have trouble with that, the associated files that need changing are here:


There are two files that needed updating, just copy paste each into your own and push to the heroku master again. I’m sure there are other packages that could be updated, but this was the least amount of changes that got things working again.

For those that just want the changes:

Here’s the PR:

Awesome! This is roughly the same thing I’m doing. Glad to see someone else has done it already. I love maximizing the usefulness of things.

So far I have the tablet functioning as

  • a control center. Not nearly as elegantly though; I’ll take a lesson from you on this :slightly_smiling:
  • a security camera. I started by having its motion sensor send alerts, but I’m going to abandon that and have it just record brief snippets of motion. Let the door and window sensors handle the alerts. I love you using motion to wake the screen! Again, a lesson. Of course, all footage goes immediately to the cloud.
  • in conjunction with a Bluetooth speaker, an alarm. Between controllable lights and speakers, there is no need for a separate alarm.
  • an alert center. It emails alerts to my work email. Useful since I don’t really have a cellphone.
  • a voice control (using OK GOOGLE). I use it to toggle lights, lock/unlock my front door, etc
  • a detector of bluetooth presence. Not as reliable as I hoped, but it occasionally unlocks the door as I walk up the walkway. Might need a Bluetooth LE capable tablet to make that work better.

Here are a few of the assumptions I’m working from:

  1. Cost. Folks spend as much or more for just a camera. The tablet gives a cam… and so much more.
  2. While I won’t have infrared capability, that can be offset by having lights turn on in alarm scenarios so you get clear images. ST does that perfectly.
  3. I don’t need cams for outside; I only need them is someone actually intrudes.
  4. Even if someone breaks in via a window, he’s almost certainly leaving via a door. So I only need to capture images of intruders on their way out the door (same as the OP’s concept). Conveniently, a mount by the door perfectly serves both the camera function AND the control panel function.

I’m gonna get a second tablet for the back door. I like the OP’s frame. It hides (and secures) the power cable. I’m gonna have in-wall outlets for these tablets.

1 Like

Anyone having trouble pushing today? I’m getting the corrupt Gemfile.lock message

remote:        Using uuidtools 2.1.5
remote:        Your Gemfile.lock is corrupt. The following gem is missing from the DEPENDENCIES
remote:        section: 'bcrypt-ruby'
remote:  !
remote:  !     Failed to install gems via Bundler.
remote:  !
remote:
remote:  !     Push rejected, failed to compile Ruby app
remote:
remote: Verifying deploy...
remote:
remote: !       Push rejected to secure-beach-72955.
remote:
To https://git.heroku.com/secure-beach-72955.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/secure-beach-72955.git'

my gemfile.lock matches the master branch.

@sonicxtacy02

If you look here: https://github.com/FlorianZ/hadashboard/issues/44

You can find the issue and fix for the gemfile.lock.

Thank you “bmmiller”!

However, I have now ran into another problem. I have the server deployed and running on heroku. However when trying to authorize I run into a “Internal Server Error”.

I have scanned through the thread and have seen a few people with the same error. Each time the solution appears to be entering the ST oauth keys. I have done this multiple times, however each time I get the error. I have also tried hardcoding them in the “smartthings.rb” however again to no avail.

Does anyone have any ideas?

Thanks

1 Like

@Adam1901 If you run ‘heroku config’ within your local repo location on your computer, it should spit back to you all of your config options. I would make sure you didn’t flip flop things.

Also, did you mean stapp.rb ?

My guess is you have the keys mixed up.