Git Product home page Git Product logo

androidthings-mqtt-alarm-panel's People

Contributors

thanksmister avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

androidthings-mqtt-alarm-panel's Issues

Alarm state messages not processed

Hi!

First, big thanks for your application, this is exactly what I looking for.

However, let me share one of my observation, and at this moment I can't decide if it's an issue or just a misconfiguration.

I've set the mqtt broker address, and alarm command and state topic as follow:

Alarm Command: ha/alarm/set
Alarm Topic: ha/alarm

It looks like the application succesfully sends out alarm commands to the broker (confirmed in home assistant, and in a mqtt client as well), however the state messages just simply not processed in the application.

E.g. I'm able to arm the alarm panel with the application, and it's visible in the screen also, and I can see the same in home assistant, however, if I try to disarm it in the application, then a DISARM message sent out, but nothing happens in the app.
System state remains in 'ARMED AWAY', with red lock in the middle. Later it changes to a grey lock, with only 'SYSTEM' caption.
I can confirm that the 'disarmed' message published by the home assistant to the Alarm Topic queue, confirmed in the 3rdparty mqtt client.

Am I miss something?
Are there any requirements related to the mqtt broker maybe? It's installed on an orangepi/armbian, but I think it's quite new.

Thanks for your assistance,
Gabor

Traslations

First of all, congratulate yourself for this great work.

It works perfectly and for the alarm in home assistant it is perfect. I'm going to do a tutorial in Spanish for people to use. It is perfect linked to an RF Bridge Sonnoff and NODE RED.

My problem is the following. In the Android app version the Spanish language works, but I do not know how to do it in the androidthings version, but I see that it is implemented from v1.4.4-Beta: How can I make it work in Spanish? On the other hand, are you going to update the new improvements to the androidthings version?
 Greetings and congratulate you again.

Image won't boot

It just sits on the color wheel screen.
I am using a Raspberry Pi 3B (Not B+) with the official Raspberry Pi 7" screen and the latest image 1.5.0.2

Timeout for Notifications and Setup Screen

Hi! Love the app. I am experiencing 2 issues related to what I believe is some kind of timeout. I haven't seen this anywhere and am wondering if this is just related to my device.

I am running the app on an old Galaxy S3, android v4.4 kitkat.

  1. When in the settings I could be entering data and the screen will timeout and return back to the main screen for the alarm panel.

  2. When receiving a MQTT message from 'home/notification', the message does appear, but it times out so fast that if you blink you will miss it. It times out so fast you can't even see what the message was.

Is this just me?

Screen Rotation/Flipping

In my installation I am using a case for a raspberry with his lcd screen that unfortunately has the screen flipped upside down. The case is this one https://www.amazon.it/gp/product/B01LZNCZ3A/ref=oh_aui_detailpage_o02_s00

To overcome this I put this configuration line in /boot/config.txt:
lcd_rotate=2

It could be useful to add the option to rotate the screen inside the application or every time I get an OTA update I have to fix again the screen orientation manually.

Alert, Notification and Speak does not work

MQTT messages published to MQTT alarm panel does not trigger alert.

Tested using mosquitto_pub client as follows:
mosquitto_pub -p 8883 -h myurl -u myuser -P mypassword -t alarmpanel/alert -m "123"

Android version 8.1.0
MQTT Panel version 0.8.3 Build 4

Other android versions not tested

Change screen orientation

Feature request: is possible to add in the Display Settings a way to rotate the screen by 90° or 180°?

posible to add rtsp streaming option ?

I'm currently finishing my alarm project with HA and this panel app (thanks btw !!!), and am trying to get HA to auto record the camera stream when there is an event, but since it is mjpeg HA can't record.

Is there any way to add an option for the stream to be rtsp instead ?

UI issues with Android 4.1 (Jelly Bean) devices

Hi,
I have problems with the app (downloaded from google play) because the config button is in the area where the tablet opens the navigation bar. So when ever I touch the screen the config button is hidden by the navigatio bar. It seems like the app is somehow defined as full screen so the navigation bar auto hides when the app is opened.
The tablet is a samsung galaxy tab 2 7.0"
Any suggestions for a fix or work around?

Android Things loader keeps loading

Using the latest RPi3 image it happens that after loading the application, the Android Things loader (the black screen with three animated dots) comes back every few seconds. After 4-5 seconds I see again the application window, then again A.L. loader, in an endless loop.

When the application is visible I cannot do anything.

I'm using a 3A bench power supply and I tried to burn two different SD cards, placed into two different RPi3. I connected an Ethernet cable to a DHCP-enabled router but even if I see some activity on the leds, it doesn't seem to have got an IP.

Is this a known behavior?

Ad-hoc camera snapshot via MQTT notification

Currently, the alarm panel wakes up when it detects messages on the MQTT broker for an alarm state change. This mechanism is also used to have the alarm panel speak a message via TTS by sending a message via the notification topic on the MQTT broker.

My suggestion is to use this same mechanism to trigger the camera to make a photo and have it sent via e-mail/telegram. This would provide ad-hoc capture capabilities to the alarm panel if needed so you can get a visual of who's in front of your alarm panel at all times and not just when it's successfully unlocked. The rationale for this is that a picture of someone successfully unlocking your alarm panel isn't that useful because they have the alarm code and are most likely allowed to be there anyway. What is more interesting is a picture of anyone who unsuccessfully tries to unlock the alarm or even anyone who passes by the alarm panel when nobody is supposed to be home. For this, you would want to have a PIR/motion/door sensor be able to send a notification to the MQTT broker via Home Assistant with a specific topic which the alarm panel will pick up. It will activate the camera, snap a picture and then send it via the configured options such as mailgun or telegram.

Additional features would be that the payload of the message to the MQTT broker tells the alarm panel if it should snap one or more pictures or maybe even capture a short video.

I could image a payload like this:

{"mode":"picture",
 "count":3,
 "interal":1
}

This would tell the panel to snap 3 pictures at a one-second interval.

{"mode":"video",
 "count":5,
}

This would tell the panel to capture a 5 second video.

The flow would look like this:

  1. Z-Wave PIR sensor (or other connected technology) detects movement
  2. Z-Wave PIR sensor reports state change to Home Assistant
  3. Home assistant triggers automation that publishes a notification on the MQTT broker
  4. Alarm panel is subscribed to the topic and picks up the notification, reads the payload.
  5. Alarm panel engages the camera and snaps photo(s)/captures video
  6. Photo(s)/video is sent to configured mailgun/telegram notifcation service

Image does not boot

Hello,

I tried writing the img file to an 8 Gb SD card. But is doesn't boot in the Raspberry Pi. I tried to flash it from MacOS and from Windows, tried different cards and different versions the images, but it just won't boot on my Raspberry Pi 3B

With kind regards,

Remco Hannink

Question: How to get TTS to work on AndroidThings MQTT Alarm Panel

I am using the v1.5.0-beta.2 version and I am having an issue with TTS.
I can see the notification on the screen, can hear the beeps when pressing numbers, but I can't get the app to speak the MQTT message.
I know this is not under development now, but I was just wondering if you can guide me in what I may be doing wrong.
I am using a Raspberry Pi 3A, I have powered external speakers connected via 3.5mm audio. In settings -> notifications I have all 3 options ticked. AlarmState and MQTT message are not "spoken".

Thanks for any advice.

Persistent MQTT messaged

Hello,
Thank you for this amazing app.

There might be a way to make the MQTT messages persistent however I have been unable to find the settings in the app.

The issue is that when the alarm is armed from the app and home-assistant is restarted, the alarm is unarmed. I have already made the MQTT messages persistent so when the alarm is armed from within home-assistant I don't have this issue.

Sites using self signed certs don't show

My home assistant is using a self signed certificate, on both android things and android the page is blank. I get the warning about the certificate, I click to accept then all I get is a blank background. I have the root certificate installed on my phone yet I still get the certificate error even though the certificate shows valid if I use chrome.

RPI 3B+ Won't Boot

Hi

its not my first time flash a sd card with etcher in case of using it on rpi ,

but it wont boot at all and with same sd and same devices i use, raspbian boot perfectly

is that because the release of iot_rpi3.img. v1.5.0-beta.2
NOT compatible with rpi 3b+ ???

at the boot i got power led solid and no act led blinking

do i have to connect network cable to it when boot ?

thank you

(black screen on boot)

Crash when initializing Android Screen Manager

There is a bug when first initializing the ScreenManager for adjust the device brightness and resolution. This is a known bug with Android Things Preview 6.1 which will be addressed by Google in an upcoming release. This bug can cause a crash of the application, but it happens randomly. If anyone experiences this issue, just ignore it until the app properly starts, it should then run stable afterwards.

TTS using Amazon Polly

My home is currently using Amazon_Polly_Say for all TTS announcements in a British accent, my feature request is to include Polly as an alternative to Google_Say in the alarm panel to allow for a unified experience when using Polly. Hope it's ok to post this here.

Multiple account feature

Hello !

I've install your app on my android tab, i love the concept of this app, Alarm management and web browser in same app, it's really amazing for WAF ! Thank you very much !

I use your app with my Jeedom, I've make it work without difficults and it do the job. I wanna know if it was possible to add some " extra "features. I understand you created this app to integrate with Home Assistant, I think it can stay compatible, just they will not be used by it:

=> Possibility to add an account manager: With multiple passwords for multiple users. When action is done ( activate / disable alarm ), we can publish to MQTT who's activate / disactivate alarm ( by publish username a new MQTT topic ). This can be used to trigger who did action, and of course increase security because each user have is own password.

Example:

Create user Bob ( pin 1234 ) and Paul ( pin 4321 )

When alarm is disabled with pin 4321, we can publish to MQTT "home/alarm/user Paul" ( with of course home/set DISARM ).

I hope you understand what I mean, tell me if you need more details about my requets.

I wanna tell you again thank you, I love your app :D

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.