gemu2015 / Sonoff-Tasmota

Tasmota Fork TCS34725,PN532_i2,ccc1101 Moritz support,m5stack 4,7 epaper, bresser 868 Mhz sensors and wether stations, loadable binary drivers
GNU General Public License v3.0
24 stars 19 forks source link

Keyfob not working #16

Open lacrimosa2k2 opened 4 years ago

lacrimosa2k2 commented 4 years ago

GUIDE

This troubleshooting issue template is meant to help Tasmota users with difficult problems. It is aimed to be opened if using the wiki and the support chat could not solve the issue. The Github Issue tracker is NOT a general discussion forum!

Please DO NOT OPEN AN ISSUE:

  • If you have general questions or you need help on Tasmota usage, go to the Tasmota Support Chat
  • If your Tasmota version is not the latest from the development branch, please update your device before submitting your issue. Your problem might already be solved. The latest precompiled binaries of Tasmota can be downloaded from http://thehackbox.org/tasmota/
  • If your issue is about a new device, please use the Tasmota Template feature.
  • If your issue is a flashing issue, please address it to the Tasmota Support Chat
  • If your issue is compilation problem, please address it to the Tasmota Support Chat
  • If your issue has been addressed before (i.e., duplicated issue), please ask in the original issue
  • If your issue is a Wi-Fi problem or MQTT problem, please try the steps provided in the FAQ and troubleshooting wiki articles

Please take a few minutes to complete the requested information below. Our ability to provide assistance is greatly hampered without it. The details requested potentially affect which options to pursue. The small amount of time you spend completing the template will also help the volunteers providing the assistance to you to reduce the time required to help you.

ISSUE DESCRIPTION - TROUBLESHOOTING

A clear description of what the issue is and be as extensive as possible i have the HM-17 module and the cheap keyfob that can beep. (this: https://www.amazon.de/gp/product/B01DIWX04E/ref=ppx_yo_dt_b_asin_title_o01_s00?ie=UTF8&psc=1 ) the hm-17 work with the tasmota, i can see the scan. but when i power on one of the keyfob i see in the debug info only >>00000000:0000 and no data on mqtt or so. on the site it says this keyfob works, i have buy this, ok another color.

so i tried in the driver file change from DISI to DISC, so i can see the mac of the keyfob.

what can i do to get this work?

thanks

REQUESTED INFORMATION

Make sure these boxes are checked before submitting your issue. Thank you

FAILURE TO COMPLETE THE REQUESTED INFORMATION WILL RESULT IN YOUR ISSUE BEING CLOSED

(Please, remember to close the issue when the problem has been addressed)

funnyfrish commented 4 years ago

Wo sind die Stellen für RX+TX?

Serial_log_level habe ich soeben auf none gesetzt

define SERIAL_LOG_LEVEL LOG_LEVEL_NONE

mein HM10 läuft mit Baudrate 115200 statt die 9600. Das hab ich in der xsns_52_ibeacon.ino noch angepasst

verbunden ist der HM-10 direkt mit RX und TX auf dem nodemcu. Die Stromversorgung geht direkt über die pinleiste 3.3V und GND

lacrimosa2k2 commented 4 years ago

stelle dein hm auf 9600 und korrigiere die ibeacon wieder. rx und tx auf der webseite von tasmota in der pin configuration https://user-images.githubusercontent.com/17022949/50584268-93da0b80-0e94-11e9-84cb-6671288ec198.png dort unter serial in und out musst du noch das entsprechende wählen, und serial log kannst du in der tasmota config auch über web abschalten

Jason2866 commented 4 years ago

Gpio Zuordnung sollte so aussehen Ist diese nicht erfolgt crasht Tasmota bei Eingabe eines Kommandos Sensor52 xxx Screenshot_20200130-215740

funnyfrish commented 4 years ago

ich bin dir so dankbar. Nirgends ist das beschrieben.... Das war das Problem.... Habs zurück auf 9600 gesetzt mit AT+BAUD0 und im code wieder auf 9600 zurück. Ab es lag an der Konfiguration der seriellen Schnittstellen.....

Wie ist es kann man damit auch Handys (Android, IPhone) tracken? schicken die Handys auch solche ibeacons raus?

lacrimosa2k2 commented 4 years ago

iPhone senden oder haben Mal dieses beacon gesendet allerdings mit einer random Mac. Für Android gibt es beacon Emulatoren Apps, die haben bei mir bisher aber nicht funktioniert (nur mit einem hm-17 Mal getestet, der sieht aber nicht alles) soll aber wohl gehen.

funnyfrish commented 4 years ago

was für sender kann man hierführ nehmen? Betreibe SmartHome und mir gehts um die Anwesenheitserkennung.

lacrimosa2k2 commented 4 years ago

Die in den Wikis beschriebenen beacons gehen ganz gut, die Schlüsselanhänger. Nimm die ohne Piepser da halten die Batterien wesentlich länger, gibt's für paar Euro das Stück beim Chinesen, müsste auch irgendwo verlinkt sein

Diese hab ich jetzt https://www.ebay.de/itm/283697479562

funnyfrish commented 4 years ago

ok bestell ich mir gleich. Die Teile schicken dann immer die gleiche ID? Also eine Zuordnung wäre möglich oder? Wie ist die Reichweite?

Jason2866 commented 4 years ago

Bei mir funktioniert (Android) der Beacon Simulator (Google Appstore)

lacrimosa2k2 commented 4 years ago

ok bestell ich mir gleich. Die Teile schicken dann immer die gleiche ID? Also eine Zuordnung wäre möglich oder? Wie ist die Reichweite?

Die Reichweite ist solala, allerdings kann man sich damit eine Raumerkennung basteln wenn man ein paar hm an jeweils ein Gerät bastelt was in einem Raum ist. Ja die senden immer die selbe id

funnyfrish commented 4 years ago

in der App habe ich iBeacon eingestellt mit ner UUID. Tasmota zeigt aber irgendeine MAC Adresse an.... Wie soll ich das zuordnen

Snobs76 commented 4 years ago

Könnt Ihr mir vieleicht noch helfen, ich hab ein HM-10 mit v707 aber wenn ich Sensor52 Befehle losschicke gibts ne Exeption und es startet neu. Ich seh hier überhaupt keine Geräte dir irgendwas übermitteln. Prüfe ich aber mit nem Beacon Scanner auf dem Handy sehe ich jede Menge

funnyfrish commented 4 years ago

Lies oben. Das gleiche problem hatte ich auch. Du musst a7f der weboberfläche tx und rx auf hm setzen. Im thread oben hats die screens

Snobs76 notifications@github.com schrieb am Do., 16. Apr. 2020, 20:56:

Könnt Ihr mir vieleicht noch helfen, ich hab ein HM-10 mit v707 aber wenn ich Sensor52 Befehle losschicke gibts ne Exeption und es startet neu. Ich seh hier überhaupt keine Geräte dir irgendwas übermitteln. Prüfe ich aber mit nem Beacon Scanner auf dem Handy sehe ich jede Menge

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/gemu2015/Sonoff-Tasmota/issues/16#issuecomment-614835734, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXWP664EDCS3ZZCC42RYJLRM5IFFANCNFSM4J7NGRJQ .

Snobs76 commented 4 years ago

Danke für deine Antwort, aber im Thread oben steht es auf iBaecon. Bei mir sieht das so aus. image

funnyfrish commented 4 years ago

aktiviere #define USE_IBEACON statt

define USE_HM10 in der my_user_config.h

die neue HM10 Firmware läuft mit BAUD 115200. bitte überprüfe das mal über das ARDUIONO IDE Terminal. Sonst kannst die baudrate auch auf 9600 setzen mit dem Befehl: AT+BAUD0

Snobs76 commented 4 years ago

Sieht irgendwie schon besser aus. Danke. Leider nur irgendwie leer, kann ich das irgendwie sinnvoll simulieren als Test von einen Smartphone aus ? image image image

funnyfrish commented 4 years ago

Was versuchst zu empfangen?

Snobs76 notifications@github.com schrieb am Fr., 17. Apr. 2020, 15:48:

Sieht irgendwie schon besser aus. Danke. Leider nur irgendwie leer, kann ich das irgendwie sinnvoll simulieren als Test von einen Smartphone aus ? [image: image] https://user-images.githubusercontent.com/46965176/79575880-bd876800-80c2-11ea-8af7-0125fa2ebe74.png [image: image] https://user-images.githubusercontent.com/46965176/79575948-d98b0980-80c2-11ea-87ff-921a7626daab.png [image: image] https://user-images.githubusercontent.com/46965176/79575892-c37d4900-80c2-11ea-85b3-38d2cd6c2a47.png

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/gemu2015/Sonoff-Tasmota/issues/16#issuecomment-615254105, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXWP6Y27CP7HRIF4EOUSGTRNBM3JANCNFSM4J7NGRJQ .

Snobs76 commented 4 years ago

Eigentlich irgendwas :D

funnyfrish commented 4 years ago

Gibts auch simulatoren fürs handy. Kannst ja im appstore suchen

Snobs76 notifications@github.com schrieb am Fr., 17. Apr. 2020, 15:59:

Eigentlich irgendwas :D

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/gemu2015/Sonoff-Tasmota/issues/16#issuecomment-615259904, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXWP62NATOVKRCUR6XOMGDRNBOCZANCNFSM4J7NGRJQ .

Snobs76 commented 4 years ago

Das habe ich bereits, aber mir ist nicht klar was ich da einstellen muss bei Beacon Simulator damit etwas sinnvolles bei rumkommt.

funnyfrish commented 4 years ago

Schickt immer nur die mac adresse. Sie hm10 zeigt auch nur die mac adresse die immer unterschiedlich ist. Ist mehr für anwesenheitserkennung oder authentifizierung.

Snobs76 notifications@github.com schrieb am Fr., 17. Apr. 2020, 16:58:

Das habe ich bereits, aber mir ist nicht klar was ich da einstellen muss bei Beacon Simulator damit etwas sinnvolles bei rumkommt.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/gemu2015/Sonoff-Tasmota/issues/16#issuecomment-615292282, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXWP63HNFUPIY3RJB6PAGTRNBVAVANCNFSM4J7NGRJQ .