pyg90alarm 1.10.1__tar.gz → 1.11.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/PKG-INFO +7 -2
  2. pyg90alarm-1.11.0/docs/requirements.txt +10 -0
  3. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/src/pyg90alarm/definitions/sensors.py +241 -1
  4. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/src/pyg90alarm.egg-info/PKG-INFO +7 -2
  5. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/tests/test_alarm.py +1 -1
  6. pyg90alarm-1.10.1/docs/requirements.txt +0 -5
  7. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/.github/CODEOWNERS +0 -0
  8. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/.github/workflows/main.yml +0 -0
  9. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/.gitignore +0 -0
  10. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/.pylintrc +0 -0
  11. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/.readthedocs.yaml +0 -0
  12. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/LICENSE +0 -0
  13. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/MANIFEST.in +0 -0
  14. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/README.rst +0 -0
  15. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/docs/.DS_Store +0 -0
  16. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/docs/.gitignore +0 -0
  17. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/docs/api-docs.rst +0 -0
  18. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/docs/conf.py +0 -0
  19. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/docs/index.rst +0 -0
  20. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/docs/protocol.rst +0 -0
  21. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/pyproject.toml +0 -0
  22. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/setup.cfg +0 -0
  23. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/setup.py +0 -0
  24. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/sonar-project.properties +0 -0
  25. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/src/pyg90alarm/__init__.py +0 -0
  26. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/src/pyg90alarm/alarm.py +0 -0
  27. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/src/pyg90alarm/base_cmd.py +0 -0
  28. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/src/pyg90alarm/callback.py +0 -0
  29. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/src/pyg90alarm/config.py +0 -0
  30. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/src/pyg90alarm/const.py +0 -0
  31. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/src/pyg90alarm/definitions/__init__.py +0 -0
  32. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/src/pyg90alarm/device_notifications.py +0 -0
  33. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/src/pyg90alarm/discovery.py +0 -0
  34. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/src/pyg90alarm/entities/__init__.py +0 -0
  35. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/src/pyg90alarm/entities/device.py +0 -0
  36. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/src/pyg90alarm/entities/sensor.py +0 -0
  37. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/src/pyg90alarm/exceptions.py +0 -0
  38. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/src/pyg90alarm/history.py +0 -0
  39. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/src/pyg90alarm/host_info.py +0 -0
  40. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/src/pyg90alarm/host_status.py +0 -0
  41. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/src/pyg90alarm/paginated_cmd.py +0 -0
  42. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/src/pyg90alarm/paginated_result.py +0 -0
  43. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/src/pyg90alarm/targeted_discovery.py +0 -0
  44. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/src/pyg90alarm/user_data_crc.py +0 -0
  45. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/src/pyg90alarm.egg-info/SOURCES.txt +0 -0
  46. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/src/pyg90alarm.egg-info/dependency_links.txt +0 -0
  47. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/src/pyg90alarm.egg-info/requires.txt +0 -0
  48. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/src/pyg90alarm.egg-info/top_level.txt +0 -0
  49. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/tests/conftest.py +0 -0
  50. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/tests/device_mock.py +0 -0
  51. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/tests/test_base_commands.py +0 -0
  52. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/tests/test_callback.py +0 -0
  53. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/tests/test_discovery.py +0 -0
  54. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/tests/test_notifications.py +0 -0
  55. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/tests/test_paginated_commands.py +0 -0
  56. {pyg90alarm-1.10.1 → pyg90alarm-1.11.0}/tox.ini +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyg90alarm
3
- Version: 1.10.1
3
+ Version: 1.11.0
4
4
  Summary: G90 Alarm system protocol
5
5
  Home-page: https://github.com/hostcc/pyg90alarm
6
6
  Author: Ilia Sotnikov
@@ -22,10 +22,15 @@ Classifier: Programming Language :: Python :: 3.10
22
22
  Classifier: Programming Language :: Python :: 3 :: Only
23
23
  Requires-Python: >=3.7, <4
24
24
  Description-Content-Type: text/x-rst
25
+ License-File: LICENSE
25
26
  Provides-Extra: dev
27
+ Requires-Dist: check-manifest; extra == "dev"
26
28
  Provides-Extra: test
29
+ Requires-Dist: coverage; extra == "test"
30
+ Requires-Dist: asynctest; extra == "test"
27
31
  Provides-Extra: docs
28
- License-File: LICENSE
32
+ Requires-Dist: sphinx; extra == "docs"
33
+ Requires-Dist: sphinx-rtd-theme; extra == "docs"
29
34
 
30
35
  .. image:: https://github.com/hostcc/pyg90alarm/actions/workflows/main.yml/badge.svg?branch=master
31
36
  :target: https://github.com/hostcc/pyg90alarm/tree/master
@@ -0,0 +1,10 @@
1
+ sphinx-rtd-theme
2
+ enum-tools[sphinx]
3
+ pygments>=2.15.0 # not directly required, pinned by Snyk to avoid a vulnerability
4
+ sphinx>=3.3.0 # not directly required, pinned by Snyk to avoid a vulnerability
5
+ setuptools>=65.5.1 # not directly required, pinned by Snyk to avoid a vulnerability
6
+ certifi>=2023.7.22 # not directly required, pinned by Snyk to avoid a vulnerability
7
+ requests>=2.32.0 # not directly required, pinned by Snyk to avoid a vulnerability
8
+ jinja2>=3.1.4 # not directly required, pinned by Snyk to avoid a vulnerability
9
+ requests>=2.31.0 # not directly required, pinned by Snyk to avoid a vulnerability
10
+ idna>=3.7 # not directly required, pinned by Snyk to avoid a vulnerability
@@ -475,6 +475,16 @@ SENSOR_DEFINITIONS = [
475
475
  rwMode=SensorRwMode.READ,
476
476
  matchMode=SensorMatchMode.ONLY20BITS
477
477
  ),
478
+ # Door Sensor WRDS01
479
+ SensorDefinition(
480
+ type=1,
481
+ subtype=3,
482
+ rx=0,
483
+ tx=0,
484
+ private_data='00',
485
+ rwMode=SensorRwMode.READ,
486
+ matchMode=SensorMatchMode.ALL
487
+ ),
478
488
  # Door Sensor
479
489
  SensorDefinition(
480
490
  type=1,
@@ -485,6 +495,96 @@ SENSOR_DEFINITIONS = [
485
495
  rwMode=SensorRwMode.READ,
486
496
  matchMode=SensorMatchMode.ONLY16BITS
487
497
  ),
498
+ # Glass Break Sensor BLPS
499
+ SensorDefinition(
500
+ type=2,
501
+ subtype=0,
502
+ rx=0,
503
+ tx=0,
504
+ private_data='00',
505
+ rwMode=SensorRwMode.READ,
506
+ matchMode=SensorMatchMode.ALL
507
+ ),
508
+ # Gas Detector WGD01
509
+ SensorDefinition(
510
+ type=3,
511
+ subtype=0,
512
+ rx=0,
513
+ tx=0,
514
+ private_data='00',
515
+ rwMode=SensorRwMode.READ,
516
+ matchMode=SensorMatchMode.ALL
517
+ ),
518
+ # Smoke Detector WSD02
519
+ SensorDefinition(
520
+ type=4,
521
+ subtype=0,
522
+ rx=0,
523
+ tx=0,
524
+ private_data='00',
525
+ rwMode=SensorRwMode.READ,
526
+ matchMode=SensorMatchMode.ALL
527
+ ),
528
+ # Smoke Detector WSD04
529
+ SensorDefinition(
530
+ type=4,
531
+ subtype=1,
532
+ rx=0,
533
+ tx=0,
534
+ private_data='00',
535
+ rwMode=SensorRwMode.READ,
536
+ matchMode=SensorMatchMode.ALL
537
+ ),
538
+ # Panic Button WEB01
539
+ SensorDefinition(
540
+ type=5,
541
+ subtype=1,
542
+ rx=0,
543
+ tx=0,
544
+ private_data='00',
545
+ rwMode=SensorRwMode.READ,
546
+ matchMode=SensorMatchMode.ALL
547
+ ),
548
+ # Panic Button WEB03
549
+ SensorDefinition(
550
+ type=5,
551
+ subtype=0,
552
+ rx=0,
553
+ tx=0,
554
+ private_data='00',
555
+ rwMode=SensorRwMode.READ,
556
+ matchMode=SensorMatchMode.ALL
557
+ ),
558
+ # Shock Sensor WSS01
559
+ SensorDefinition(
560
+ type=6,
561
+ subtype=0,
562
+ rx=0,
563
+ tx=0,
564
+ private_data='00',
565
+ rwMode=SensorRwMode.READ,
566
+ matchMode=SensorMatchMode.ALL
567
+ ),
568
+ # Water Detector LSTC02
569
+ SensorDefinition(
570
+ type=7,
571
+ subtype=1,
572
+ rx=0,
573
+ tx=0,
574
+ private_data='',
575
+ rwMode=SensorRwMode.READ,
576
+ matchMode=SensorMatchMode.ALL
577
+ ),
578
+ # Water Detector LSTC01
579
+ SensorDefinition(
580
+ type=7,
581
+ subtype=0,
582
+ rx=0,
583
+ tx=0,
584
+ private_data='00',
585
+ rwMode=SensorRwMode.READ,
586
+ matchMode=SensorMatchMode.ALL
587
+ ),
488
588
  # PIR motion sensor WMS08
489
589
  SensorDefinition(
490
590
  type=8,
@@ -505,6 +605,66 @@ SENSOR_DEFINITIONS = [
505
605
  rwMode=SensorRwMode.READ,
506
606
  matchMode=SensorMatchMode.ONLY20BITS
507
607
  ),
608
+ # PIR motion sensor ODPIR
609
+ SensorDefinition(
610
+ type=8,
611
+ subtype=0,
612
+ rx=0,
613
+ tx=0,
614
+ private_data='00',
615
+ rwMode=SensorRwMode.READ,
616
+ matchMode=SensorMatchMode.ALL
617
+ ),
618
+ # PIR motion sensor N650
619
+ SensorDefinition(
620
+ type=8,
621
+ subtype=5,
622
+ rx=0,
623
+ tx=0,
624
+ private_data='00',
625
+ rwMode=SensorRwMode.READ,
626
+ matchMode=SensorMatchMode.ALL
627
+ ),
628
+ # PIR motion sensor WPD02
629
+ SensorDefinition(
630
+ type=8,
631
+ subtype=6,
632
+ rx=0,
633
+ tx=0,
634
+ private_data='00',
635
+ rwMode=SensorRwMode.READ,
636
+ matchMode=SensorMatchMode.ALL
637
+ ),
638
+ # PIR motion sensor WCMS02
639
+ SensorDefinition(
640
+ type=8,
641
+ subtype=8,
642
+ rx=0,
643
+ tx=0,
644
+ private_data='00',
645
+ rwMode=SensorRwMode.READ,
646
+ matchMode=SensorMatchMode.ALL
647
+ ),
648
+ # PIR motion sensor CWMS01
649
+ SensorDefinition(
650
+ type=8,
651
+ subtype=9,
652
+ rx=0,
653
+ tx=0,
654
+ private_data='00',
655
+ rwMode=SensorRwMode.READ,
656
+ matchMode=SensorMatchMode.ALL
657
+ ),
658
+ # PIR motion sensor WMS04
659
+ SensorDefinition(
660
+ type=8,
661
+ subtype=11,
662
+ rx=0,
663
+ tx=0,
664
+ private_data='00',
665
+ rwMode=SensorRwMode.READ,
666
+ matchMode=SensorMatchMode.ALL
667
+ ),
508
668
  # PIR motion sensor WMS07
509
669
  SensorDefinition(
510
670
  type=8,
@@ -515,6 +675,66 @@ SENSOR_DEFINITIONS = [
515
675
  rwMode=SensorRwMode.READ,
516
676
  matchMode=SensorMatchMode.ONLY20BITS
517
677
  ),
678
+ # PIR motion sensor ODPIR03
679
+ SensorDefinition(
680
+ type=8,
681
+ subtype=4,
682
+ rx=0,
683
+ tx=0,
684
+ private_data='00',
685
+ rwMode=SensorRwMode.READ,
686
+ matchMode=SensorMatchMode.ALL
687
+ ),
688
+ # PIR motion sensor WPD01
689
+ SensorDefinition(
690
+ type=8,
691
+ subtype=7,
692
+ rx=0,
693
+ tx=0,
694
+ private_data='00',
695
+ rwMode=SensorRwMode.READ,
696
+ matchMode=SensorMatchMode.ALL
697
+ ),
698
+ # PIR motion sensor PIR Ceiling
699
+ SensorDefinition(
700
+ type=8,
701
+ subtype=1,
702
+ rx=0,
703
+ tx=0,
704
+ private_data='00',
705
+ rwMode=SensorRwMode.READ,
706
+ matchMode=SensorMatchMode.ALL
707
+ ),
708
+ # Beams ABT
709
+ SensorDefinition(
710
+ type=9,
711
+ subtype=0,
712
+ rx=0,
713
+ tx=0,
714
+ private_data='00',
715
+ rwMode=SensorRwMode.READ,
716
+ matchMode=SensorMatchMode.ALL
717
+ ),
718
+ # Beams ABE
719
+ SensorDefinition(
720
+ type=9,
721
+ subtype=1,
722
+ rx=0,
723
+ tx=0,
724
+ private_data='00',
725
+ rwMode=SensorRwMode.READ,
726
+ matchMode=SensorMatchMode.ALL
727
+ ),
728
+ # Beams ABH
729
+ SensorDefinition(
730
+ type=9,
731
+ subtype=2,
732
+ rx=0,
733
+ tx=0,
734
+ private_data='00',
735
+ rwMode=SensorRwMode.READ,
736
+ matchMode=SensorMatchMode.ALL
737
+ ),
518
738
  # Remote RMC08
519
739
  SensorDefinition(
520
740
  type=10,
@@ -565,6 +785,16 @@ SENSOR_DEFINITIONS = [
565
785
  rwMode=SensorRwMode.READ,
566
786
  matchMode=SensorMatchMode.ONLY20BITS
567
787
  ),
788
+ # Door Bell WDB
789
+ SensorDefinition(
790
+ type=12,
791
+ subtype=1,
792
+ rx=0,
793
+ tx=0,
794
+ private_data='00',
795
+ rwMode=SensorRwMode.READ,
796
+ matchMode=SensorMatchMode.ALL
797
+ ),
568
798
  # TouchID Detector
569
799
  SensorDefinition(
570
800
  type=13,
@@ -595,7 +825,17 @@ SENSOR_DEFINITIONS = [
595
825
  rwMode=SensorRwMode.READ,
596
826
  matchMode=SensorMatchMode.ONLY16BITS
597
827
  ),
598
- # Gas Detector WGD02
828
+ # Sub Host SS08S
829
+ SensorDefinition(
830
+ type=16,
831
+ subtype=0,
832
+ rx=0,
833
+ tx=0,
834
+ private_data='00',
835
+ rwMode=SensorRwMode.READ,
836
+ matchMode=SensorMatchMode.ALL
837
+ ),
838
+ # Gas Valve Detector WGD02
599
839
  SensorDefinition(
600
840
  type=18,
601
841
  subtype=0,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyg90alarm
3
- Version: 1.10.1
3
+ Version: 1.11.0
4
4
  Summary: G90 Alarm system protocol
5
5
  Home-page: https://github.com/hostcc/pyg90alarm
6
6
  Author: Ilia Sotnikov
@@ -22,10 +22,15 @@ Classifier: Programming Language :: Python :: 3.10
22
22
  Classifier: Programming Language :: Python :: 3 :: Only
23
23
  Requires-Python: >=3.7, <4
24
24
  Description-Content-Type: text/x-rst
25
+ License-File: LICENSE
25
26
  Provides-Extra: dev
27
+ Requires-Dist: check-manifest; extra == "dev"
26
28
  Provides-Extra: test
29
+ Requires-Dist: coverage; extra == "test"
30
+ Requires-Dist: asynctest; extra == "test"
27
31
  Provides-Extra: docs
28
- License-File: LICENSE
32
+ Requires-Dist: sphinx; extra == "docs"
33
+ Requires-Dist: sphinx-rtd-theme; extra == "docs"
29
34
 
30
35
  .. image:: https://github.com/hostcc/pyg90alarm/actions/workflows/main.yml/badge.svg?branch=master
31
36
  :target: https://github.com/hostcc/pyg90alarm/tree/master
@@ -622,7 +622,7 @@ async def test_sensor_disable_externally_modified(mock_device):
622
622
 
623
623
  @pytest.mark.g90device(sent_data=[
624
624
  b'ISTART[102,'
625
- b'[[1,1,1],["Water",10,0,7,0,0,33,0,0,17,1,0,""]'
625
+ b'[[1,1,1],["Unsupported",10,0,255,0,0,33,0,0,17,1,0,""]'
626
626
  b']]IEND\0',
627
627
  b"ISTARTIEND\0",
628
628
  ])
@@ -1,5 +0,0 @@
1
- sphinx-rtd-theme
2
- enum-tools[sphinx]
3
- pygments>=2.7.4 # not directly required, pinned by Snyk to avoid a vulnerability
4
- sphinx>=3.0.4 # not directly required, pinned by Snyk to avoid a vulnerability
5
- setuptools>=65.5.1 # not directly required, pinned by Snyk to avoid a vulnerability
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes