Dsc Alarm internet module

Thanks! Been following the YouTube video (great link) until I got stuck with the wifi issue.
Wifi flash will work once you have done the initial flash via usb. As it needs the esphome firmware for flash over wifi/ota
Thanks for the link to that, I might try esp8266 flasher.
Ive always used ESPHome Flasher as its simple to use.
https://github.com/esphome/esphome-flasher/releases
They both do the same, just did a quick search for nodemcu flasher :P
 
Wifi flash will work once you have done the initial flash via usb. As it needs the esphome firmware for flash over wifi/ota

They both do the same, just did a quick search for nodemcu flasher :p
Thanks. Finally got the flash done. I'm on a Mac and couldn't for the life of me get the flasher to run on my machine (file was simply blocked), so I pulled out the wife's Win laptop and was able to get that going (after I figured out the USB cable I'd been using was faulty). On to the next steps...
 
Thanks. Finally got the flash done. I'm on a Mac and couldn't for the life of me get the flasher to run on my machine (file was simply blocked), so I pulled out the wife's Win laptop and was able to get that going (after I figured out the USB cable I'd been using was faulty). On to the next steps...
Now it is the fun part...

In order to make OTA updates, connection switch in frontend must be switched to OFF since the DSC library is using interrupts. There is only one switch/toggle that is added via the esphome firmware that you need to toggle before trying to do ota updates.
 
Wifi flash will work once you have done the initial flash via usb. As it needs the esphome firmware for flash over wifi/ota

They both do the same, just did a quick search for nodemcu flasher :p
Do I overwrite the yaml created in the initial setup with the one taken from Gilbert's github?

EDIT: I think I have it working now. Will get it all wired up tomorrow and then the proof will be in the pudding
 
Last edited:
You can, just change what you need to so that i reconnects to your wifi
On second thoughts, it seems I was hasty in my celebrations. Compiling that yaml (after adjusting for passwords etc) gives a host of errors.

In file included from src/main.cpp:54:0:
src/._dscAlarm.h:1:1: warning: null character(s) ignored [enabled by default]
6FA4608C02
^
src/._dscAlarm.h:1:2: error: stray '\5' in program
src/._dscAlarm.h:1:2: error: stray '\26' in program
src/._dscAlarm.h:1:2: error: stray '\7' in program
src/._dscAlarm.h:1:5: warning: null character(s) ignored [enabled by default]
src/._dscAlarm.h:1:2: error: stray '\2' in program
src/._dscAlarm.h:1:7: warning: null character(s) ignored [enabled by default]
src/._dscAlarm.h:1:17: warning: null character(s) ignored [enabled by default]
src/._dscAlarm.h:1:2: error: stray '\2' in program
src/._dscAlarm.h:1:27: warning: null character(s) ignored [enabled by default]
src/._dscAlarm.h:1:35: warning: null character(s) ignored [enabled by default]
src/._dscAlarm.h:1:2: error: stray '\16' in program
src/._dscAlarm.h:1:2: error: stray '\260' in program
src/._dscAlarm.h:1:39: warning: null character(s) ignored [enabled by default]
src/._dscAlarm.h:1:2: error: stray '\2' in program
src/._dscAlarm.h:1:43: warning: null character(s) ignored [enabled by default]
src/._dscAlarm.h:1:2: error: stray '\16' in program
src/._dscAlarm.h:1:2: error: stray '\342' in program
src/._dscAlarm.h:1:47: warning: null character(s) ignored [enabled by default]
src/._dscAlarm.h:1:2: error: stray '\1' in program
src/._dscAlarm.h:1:2: error: stray '\36' in program
src/._dscAlarm.h:1:51: warning: null character(s) ignored [enabled by default]
src/._dscAlarm.h:1:89: warning: null character(s) ignored [enabled by default]
src/._dscAlarm.h:1:2: error: stray '\4' in program
src/._dscAlarm.h:1:93: warning: null character(s) ignored [enabled by default]
src/._dscAlarm.h:1:2: error: stray '\16' in program
src/._dscAlarm.h:1:2: error: stray '\342' in program
src/._dscAlarm.h:1:97: warning: null character(s) ignored [enabled by default]
src/._dscAlarm.h:1:2: error: stray '\230' in program
src/._dscAlarm.h:1:101: warning: null character(s) ignored [enabled by default]
src/._dscAlarm.h:1:105: warning: null character(s) ignored [enabled by default]
src/._dscAlarm.h:1:2: error: stray '\1' in program
src/._dscAlarm.h:1:121: warning: null character(s) ignored [enabled by default]
src/._dscAlarm.h:1:2: error: stray '\230' in program
src/._dscAlarm.h:1:125: warning: null character(s) ignored [enabled by default]
src/._dscAlarm.h:1:129: warning: null character(s) ignored [enabled by default]
src/._dscAlarm.h:1:2: error: stray '\25' in program
src/._dscAlarm.h:1:152: warning: null character(s) ignored [enabled by default]
src/._dscAlarm.h:1:153: error: invalid digit "8" in octal constant
src/._dscAlarm.h:1:210: warning: null character(s) ignored [enabled by default]
src/._dscAlarm.h:1:2: error: stray '\1' in program
src/._dscAlarm.h:1:3814: warning: null character(s) ignored [enabled by default]
src/._dscAlarm.h:1:2: error: stray '\1' in program
src/._dscAlarm.h:1:3818: warning: null character(s) ignored [enabled by default]
src/._dscAlarm.h:1:2: error: stray '\36' in program
src/._dscAlarm.h:1:3870: warning: null character(s) ignored [enabled by default]
src/._dscAlarm.h:1:2: error: stray '\1' in program
src/._dscAlarm.h:1:4070: warning: null character(s) ignored [enabled by default]
src/._dscAlarm.h:1:2: error: stray '\1' in program
src/._dscAlarm.h:1:4074: warning: null character(s) ignored [enabled by default]
src/._dscAlarm.h:1:2: error: stray '\36' in program
src/._dscAlarm.h:1:4083: warning: null character(s) ignored [enabled by default]
src/._dscAlarm.h:1:2: error: stray '\34' in program
src/._dscAlarm.h:1:4093: warning: null character(s) ignored [enabled by default]
src/._dscAlarm.h:1:2: error: stray '\36' in program
src/._dscAlarm.h:1:2: error: stray '\377' in program
src/._dscAlarm.h:1:2: error: stray '\377' in program
In file included from src/main.cpp:55:0:
src/._dscKeybusInterface.h:1:1: warning: null character(s) ignored [enabled by default]
src/._dscKeybusInterface.h:1:2: error: stray '\5' in program
src/._dscKeybusInterface.h:1:2: error: stray '\26' in program
src/._dscKeybusInterface.h:1:2: error: stray '\7' in program
src/._dscKeybusInterface.h:1:5: warning: null character(s) ignored [enabled by default]
src/._dscKeybusInterface.h:1:2: error: stray '\2' in program
src/._dscKeybusInterface.h:1:7: warning: null character(s) ignored [enabled by default]
src/._dscKeybusInterface.h:1:17: warning: null character(s) ignored [enabled by default]
src/._dscKeybusInterface.h:1:2: error: stray '\2' in program
src/._dscKeybusInterface.h:1:27: warning: null character(s) ignored [enabled by default]
src/._dscKeybusInterface.h:1:35: warning: null character(s) ignored [enabled by default]
src/._dscKeybusInterface.h:1:2: error: stray '\16' in program
src/._dscKeybusInterface.h:1:2: error: stray '\260' in program
src/._dscKeybusInterface.h:1:39: warning: null character(s) ignored [enabled by default]
src/._dscKeybusInterface.h:1:2: error: stray '\2' in program
src/._dscKeybusInterface.h:1:43: warning: null character(s) ignored [enabled by default]
src/._dscKeybusInterface.h:1:2: error: stray '\16' in program
src/._dscKeybusInterface.h:1:2: error: stray '\342' in program
src/._dscKeybusInterface.h:1:47: warning: null character(s) ignored [enabled by default]
src/._dscKeybusInterface.h:1:2: error: stray '\1' in program
src/._dscKeybusInterface.h:1:2: error: stray '\36' in program
src/._dscKeybusInterface.h:1:51: warning: null character(s) ignored [enabled by default]
src/._dscKeybusInterface.h:1:89: warning: null character(s) ignored [enabled by default]
src/._dscKeybusInterface.h:1:2: error: stray '\10' in program
src/._dscKeybusInterface.h:1:2: error: stray '\376' in program
src/._dscKeybusInterface.h:1:93: warning: null character(s) ignored [enabled by default]
src/._dscKeybusInterface.h:1:2: error: stray '\16' in program
src/._dscKeybusInterface.h:1:2: error: stray '\342' in program
src/._dscKeybusInterface.h:1:97: warning: null character(s) ignored [enabled by default]
src/._dscKeybusInterface.h:1:2: error: stray '\230' in program
src/._dscKeybusInterface.h:1:101: warning: null character(s) ignored [enabled by default]
src/._dscKeybusInterface.h:1:105: warning: null character(s) ignored [enabled by default]
src/._dscKeybusInterface.h:1:2: error: stray '\1' in program
src/._dscKeybusInterface.h:1:121: warning: null character(s) ignored [enabled by default]
src/._dscKeybusInterface.h:1:2: error: stray '\230' in program
src/._dscKeybusInterface.h:1:125: warning: null character(s) ignored [enabled by default]
src/._dscKeybusInterface.h:1:129: warning: null character(s) ignored [enabled by default]
src/._dscKeybusInterface.h:1:2: error: stray '\25' in program
src/._dscKeybusInterface.h:1:152: warning: null character(s) ignored [enabled by default]
src/._dscKeybusInterface.h:1:153: error: invalid digit "8" in octal constant
src/._dscKeybusInterface.h:1:210: warning: null character(s) ignored [enabled by default]
src/._dscKeybusInterface.h:1:2: error: stray '\1' in program
src/._dscKeybusInterface.h:1:3814: warning: null character(s) ignored [enabled by default]
src/._dscKeybusInterface.h:1:2: error: stray '\1' in program
src/._dscKeybusInterface.h:1:3818: warning: null character(s) ignored [enabled by default]
src/._dscKeybusInterface.h:1:2: error: stray '\36' in program
src/._dscKeybusInterface.h:1:3870: warning: null character(s) ignored [enabled by default]
src/._dscKeybusInterface.h:1:2: error: stray '\1' in program
src/._dscKeybusInterface.h:1:4070: warning: null character(s) ignored [enabled by default]
src/._dscKeybusInterface.h:1:2: error: stray '\1' in program
src/._dscKeybusInterface.h:1:4074: warning: null character(s) ignored [enabled by default]
src/._dscKeybusInterface.h:1:2: error: stray '\36' in program
src/._dscKeybusInterface.h:1:4083: warning: null character(s) ignored [enabled by default]
src/._dscKeybusInterface.h:1:2: error: stray '\34' in program
src/._dscKeybusInterface.h:1:4093: warning: null character(s) ignored [enabled by default]
src/._dscKeybusInterface.h:1:2: error: stray '\36' in program
src/._dscKeybusInterface.h:1:2: error: stray '\377' in program
src/._dscKeybusInterface.h:1:2: error: stray '\377' in program
Generating LD script /data/dsc_alarm/.pioenvs/dsc_alarm/ld/local.eagle.app.v6.common.ld
Compiling /data/dsc_alarm/.pioenvs/dsc_alarm/lib4d9/ESP8266WiFi/BearSSLHelpers.cpp.o
In file included from src/main.cpp:54:0:
src/._dscAlarm.h:1:9: error: 'Mac' does not name a type
src/._dscAlarm.h:1:158: error: expected unqualified-id before numeric constant
src/._dscAlarm.h:1:167: error: 'Chrome' does not name a type
src/._dscAlarm.h:1:174: error: expected unqualified-id before numeric constant
In file included from src/main.cpp:55:0:
src/._dscKeybusInterface.h:1:158: error: expected unqualified-id before numeric constant
src/._dscKeybusInterface.h:1:167: error: 'Chrome' does not name a type
src/._dscKeybusInterface.h:1:174: error: expected unqualified-id before numeric constant
*** [/data/dsc_alarm/.pioenvs/dsc_alarm/src/main.cpp.o] Error 1
========================= [FAILED] Took 42.34 seconds =========================
 
Did you add the dscKeybusInterface folder to esphome folder in the home assistant config ?

Screenshot 2021-05-14 170932.jpg

You need it with all the content.
 
try these ones, notice he has made some changes when I did it for mine.
thanks

EDIT: didn't work either - I logged an issue on the git site
EDIT2: Stupid mac ._*. files messed it all up. Removing them solved the issue.
 
Last edited:
Saw the update on your issue on git. Completely missed that part.

Atleast all sorted.
 
I've populated the zones and set up a panel card. Two things I've been wondering, is there an option to bypass zones? I don't see a service listed for that. And secondly, would I be able to see which zones are triggered when the alarm sounds?
 
Not sure if you can bypass zones. Haven't tried it yet.

I have an automation running when a zone triggers to write to input_text the value of the one triggered and the sends a notification which zone triggered. Once alarm gets disarmed it clears the text input. Have a look at the attached. Don't add this to home assistant as a file. You will need to add it to its own correct location.

Input text will go configuration/helpers
automations will go to configuration/automations as 3 seperate automations.
 

Attachments

Last edited:
Next issue, sensor.alarm_status returns unavailable (all the rest seems in order) and the alarm panel card only shows "disarm", while the panel is currently already disarmed. Anyone know how to fix these?

EDIT: Calling the arm_home service from the developer tools worked, as did the disarm from the panel card. Now to find a way to let the card show the arm options.
EDIT2: Removed this line "value_template: "{{states('sensor.dscalarm_partition_1_status')}}"" from Dilbert's yaml and now it works
 
Last edited:
It will show unavailable if a sensor is open, like a door or there is motion in front of a pir.
 
It will show unavailable if a sensor is open, like a door or there is motion in front of a pir.
Aha! That makes sense. Now just to set up the telegram notifications and then it'll be fully functional.
 
Top
Sign up to the MyBroadband newsletter
X