tinderfridge 0.7.0 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. checksums.yaml +4 -4
  2. data/lib/tinderfridge/device.rb +44 -3
  3. data/lib/tinderfridge/device_collection.rb +3 -1
  4. data/lib/tinderfridge/devices/brick_master/brick_master.json +11 -0
  5. data/lib/tinderfridge/devices/brick_master/brick_master.rb +11 -0
  6. data/lib/tinderfridge/devices/bricklet_accelerometer_v2/bricklet_accelerometer_v2.json +11 -0
  7. data/lib/tinderfridge/devices/bricklet_air_quality/bricklet_air_quality.json +2 -1
  8. data/lib/tinderfridge/devices/bricklet_air_quality/bricklet_air_quality.rb +15 -0
  9. data/lib/tinderfridge/devices/bricklet_ambient_light_v3/bricklet_ambient_light_v3.json +2 -1
  10. data/lib/tinderfridge/devices/bricklet_analog_in_v3/bricklet_analog_in_v3.json +2 -1
  11. data/lib/tinderfridge/devices/bricklet_analog_out_v3/bricklet_analog_out_v3.json +2 -1
  12. data/lib/tinderfridge/devices/bricklet_barometer_v2/bricklet_barometer_v2.json +2 -1
  13. data/lib/tinderfridge/devices/bricklet_co2_v2/bricklet_co2_v2.json +2 -1
  14. data/lib/tinderfridge/devices/bricklet_co2_v2/bricklet_co2_v2.rb +19 -0
  15. data/lib/tinderfridge/devices/bricklet_color_v2/bricklet_color_v2.json +2 -1
  16. data/lib/tinderfridge/devices/bricklet_compass/bricklet_compass.json +2 -1
  17. data/lib/tinderfridge/devices/bricklet_distance_ir_v2/bricklet_distance_ir_v2.json +11 -0
  18. data/lib/tinderfridge/devices/bricklet_distance_us_v2/bricklet_distance_us_v2.json +2 -1
  19. data/lib/tinderfridge/devices/bricklet_dmx/bricklet_dmx.json +2 -1
  20. data/lib/tinderfridge/devices/bricklet_dual_button_v2/bricklet_dual_button_v2.json +11 -0
  21. data/lib/tinderfridge/devices/bricklet_e_paper_296x128/bricklet_e_paper_296x128.json +2 -1
  22. data/lib/tinderfridge/devices/bricklet_energy_monitor/bricklet_energy_monitor.json +2 -1
  23. data/lib/tinderfridge/devices/bricklet_gps_v2/bricklet_gps_v2.json +2 -1
  24. data/lib/tinderfridge/devices/bricklet_gps_v2/bricklet_gps_v2.rb +21 -1
  25. data/lib/tinderfridge/devices/bricklet_hall_effect_v2/bricklet_hall_effect_v2.json +2 -1
  26. data/lib/tinderfridge/devices/bricklet_hall_effect_v2/bricklet_hall_effect_v2.rb +16 -0
  27. data/lib/tinderfridge/devices/bricklet_humidity_v2/bricklet_humidity_v2.json +2 -1
  28. data/lib/tinderfridge/devices/bricklet_imu_v3/bricklet_imu_v3.json +2 -1
  29. data/lib/tinderfridge/devices/bricklet_industrial_analog_out_v2/bricklet_industrial_analog_out_v2.json +11 -0
  30. data/lib/tinderfridge/devices/bricklet_industrial_dual_0_20ma_v2/bricklet_industrial_dual_0_20ma_v2.json +11 -0
  31. data/lib/tinderfridge/devices/bricklet_industrial_dual_ac_relay/bricklet_industrial_dual_ac_relay.json +11 -0
  32. data/lib/tinderfridge/devices/bricklet_industrial_dual_analog_in_v2/bricklet_industrial_dual_analog_in_v2.json +11 -0
  33. data/lib/tinderfridge/devices/bricklet_industrial_dual_relay/bricklet_industrial_dual_relay.json +2 -1
  34. data/lib/tinderfridge/devices/bricklet_io16_v2/bricklet_io16_v2.json +11 -0
  35. data/lib/tinderfridge/devices/bricklet_io4_v2/bricklet_io4_v2.json +11 -0
  36. data/lib/tinderfridge/devices/bricklet_isolator/bricklet_isolator.json +2 -1
  37. data/lib/tinderfridge/devices/bricklet_joystick_v2/bricklet_joystick_v2.json +2 -1
  38. data/lib/tinderfridge/devices/bricklet_laser_range_finder_v2/bricklet_laser_range_finder_v2.json +2 -1
  39. data/lib/tinderfridge/devices/bricklet_lcd_128x64/bricklet_lcd_128x64.json +2 -1
  40. data/lib/tinderfridge/devices/bricklet_lcd_128x64/bricklet_lcd_128x64.rb +46 -0
  41. data/lib/tinderfridge/devices/bricklet_led_strip_v2/bricklet_led_strip_v2.json +2 -1
  42. data/lib/tinderfridge/devices/bricklet_linear_poti_v2/bricklet_linear_poti_v2.json +2 -1
  43. data/lib/tinderfridge/devices/bricklet_load_cell_v2/bricklet_load_cell_v2.json +11 -0
  44. data/lib/tinderfridge/devices/bricklet_motion_detector_v2/bricklet_motion_detector_v2.json +2 -1
  45. data/lib/tinderfridge/devices/bricklet_motorized_linear_poti/bricklet_motorized_linear_poti.json +2 -1
  46. data/lib/tinderfridge/devices/bricklet_multi_touch_v2/bricklet_multi_touch_v2.json +2 -1
  47. data/lib/tinderfridge/devices/bricklet_nfc/bricklet_nfc.json +2 -1
  48. data/lib/tinderfridge/devices/bricklet_oled_128x64_v2/bricklet_oled_128x64_v2.rb +79 -0
  49. data/lib/tinderfridge/devices/bricklet_one_wire/bricklet_one_wire.json +11 -0
  50. data/lib/tinderfridge/devices/bricklet_outdoor_weather/bricklet_outdoor_weather.json +2 -1
  51. data/lib/tinderfridge/devices/bricklet_particulate_matter/bricklet_particulate_matter.json +11 -0
  52. data/lib/tinderfridge/devices/bricklet_piezo_speaker_v2/bricklet_piezo_speaker_v2.json +2 -1
  53. data/lib/tinderfridge/devices/bricklet_ptc_v2/bricklet_ptc_v2.json +11 -0
  54. data/lib/tinderfridge/devices/bricklet_real_time_clock_v2/bricklet_real_time_clock_v2.json +2 -1
  55. data/lib/tinderfridge/devices/bricklet_remote_switch_v2/bricklet_remote_switch_v2.json +2 -1
  56. data/lib/tinderfridge/devices/bricklet_rgb_led_button/bricklet_rgb_led_button.json +2 -1
  57. data/lib/tinderfridge/devices/bricklet_rgb_led_v2/bricklet_rgb_led_v2.json +2 -1
  58. data/lib/tinderfridge/devices/bricklet_rotary_encoder_v2/bricklet_rotary_encoder_v2.json +2 -1
  59. data/lib/tinderfridge/devices/bricklet_rotary_poti_v2/bricklet_rotary_poti_v2.json +2 -1
  60. data/lib/tinderfridge/devices/bricklet_segment_display_4x7_v2/bricklet_segment_display_4x7_v2.json +2 -1
  61. data/lib/tinderfridge/devices/bricklet_segment_display_4x7_v2/bricklet_segment_display_4x7_v2.rb +25 -1
  62. data/lib/tinderfridge/devices/bricklet_solid_state_relay_v2/bricklet_solid_state_relay_v2.json +11 -0
  63. data/lib/tinderfridge/devices/bricklet_sound_pressure_level/bricklet_sound_pressure_level.json +2 -1
  64. data/lib/tinderfridge/devices/bricklet_sound_pressure_level/bricklet_sound_pressure_level.rb +20 -0
  65. data/lib/tinderfridge/devices/bricklet_temperature_ir_v2/bricklet_temperature_ir_v2.json +2 -1
  66. data/lib/tinderfridge/devices/bricklet_temperature_ir_v2/bricklet_temperature_ir_v2.rb +14 -0
  67. data/lib/tinderfridge/devices/bricklet_temperature_v2/bricklet_temperature_v2.json +2 -1
  68. data/lib/tinderfridge/devices/bricklet_thermal_imaging/bricklet_thermal_imaging.json +2 -1
  69. data/lib/tinderfridge/devices/bricklet_thermocouple_v2/bricklet_thermocouple_v2.json +2 -1
  70. data/lib/tinderfridge/devices/bricklet_uv_light_v2/bricklet_uv_light_v2.json +2 -1
  71. data/lib/tinderfridge/devices/bricklet_voltage_current_v2/bricklet_voltage_current_v2.json +2 -1
  72. data/lib/tinderfridge/devices/bricklet_xmc1400_breakout/bricklet_xmc1400_breakout.json +2 -1
  73. data/lib/tinderfridge/ip_connection.rb +19 -11
  74. data/lib/tinderfridge/shared/display_ibm437_encoding.rb +41 -0
  75. data/lib/tinderfridge/tinkerforge.rb +24 -9
  76. data/lib/tinderfridge/version.rb +1 -1
  77. metadata +27 -5
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tinderfridge
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - lllist.eu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-19 00:00:00.000000000 Z
11
+ date: 2022-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tinkerforge
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '2.1'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 2.1.27
22
+ version: 2.1.28
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '2.1'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 2.1.27
32
+ version: 2.1.28
33
33
  description:
34
34
  email:
35
35
  executables: []
@@ -45,6 +45,9 @@ files:
45
45
  - lib/tinderfridge/devices/brick_hat/brick_hat.rb
46
46
  - lib/tinderfridge/devices/brick_hat_zero/brick_hat_zero.json
47
47
  - lib/tinderfridge/devices/brick_hat_zero/brick_hat_zero.rb
48
+ - lib/tinderfridge/devices/brick_master/brick_master.json
49
+ - lib/tinderfridge/devices/brick_master/brick_master.rb
50
+ - lib/tinderfridge/devices/bricklet_accelerometer_v2/bricklet_accelerometer_v2.json
48
51
  - lib/tinderfridge/devices/bricklet_air_quality/bricklet_air_quality.json
49
52
  - lib/tinderfridge/devices/bricklet_air_quality/bricklet_air_quality.rb
50
53
  - lib/tinderfridge/devices/bricklet_ambient_light_v3/bricklet_ambient_light_v3.json
@@ -54,27 +57,37 @@ files:
54
57
  - lib/tinderfridge/devices/bricklet_barometer_v2/bricklet_barometer_v2.json
55
58
  - lib/tinderfridge/devices/bricklet_can_v2/bricklet_can_v2.json
56
59
  - lib/tinderfridge/devices/bricklet_co2_v2/bricklet_co2_v2.json
60
+ - lib/tinderfridge/devices/bricklet_co2_v2/bricklet_co2_v2.rb
57
61
  - lib/tinderfridge/devices/bricklet_color_v2/bricklet_color_v2.json
58
62
  - lib/tinderfridge/devices/bricklet_color_v2/bricklet_color_v2.rb
59
63
  - lib/tinderfridge/devices/bricklet_compass/bricklet_compass.json
60
64
  - lib/tinderfridge/devices/bricklet_dc_v2/bricklet_dc_v2.json
65
+ - lib/tinderfridge/devices/bricklet_distance_ir_v2/bricklet_distance_ir_v2.json
61
66
  - lib/tinderfridge/devices/bricklet_distance_us_v2/bricklet_distance_us_v2.json
62
67
  - lib/tinderfridge/devices/bricklet_dmx/bricklet_dmx.json
63
68
  - lib/tinderfridge/devices/bricklet_dmx/bricklet_dmx.rb
69
+ - lib/tinderfridge/devices/bricklet_dual_button_v2/bricklet_dual_button_v2.json
64
70
  - lib/tinderfridge/devices/bricklet_e_paper_296x128/bricklet_e_paper_296x128.json
65
71
  - lib/tinderfridge/devices/bricklet_energy_monitor/bricklet_energy_monitor.json
66
72
  - lib/tinderfridge/devices/bricklet_gps_v2/bricklet_gps_v2.json
67
73
  - lib/tinderfridge/devices/bricklet_gps_v2/bricklet_gps_v2.rb
68
74
  - lib/tinderfridge/devices/bricklet_hall_effect_v2/bricklet_hall_effect_v2.json
75
+ - lib/tinderfridge/devices/bricklet_hall_effect_v2/bricklet_hall_effect_v2.rb
69
76
  - lib/tinderfridge/devices/bricklet_humidity_v2/bricklet_humidity_v2.json
70
77
  - lib/tinderfridge/devices/bricklet_imu_v3/bricklet_imu_v3.json
78
+ - lib/tinderfridge/devices/bricklet_industrial_analog_out_v2/bricklet_industrial_analog_out_v2.json
71
79
  - lib/tinderfridge/devices/bricklet_industrial_counter/bricklet_industrial_counter.json
72
80
  - lib/tinderfridge/devices/bricklet_industrial_digital_in_4_v2/bricklet_industrial_digital_in_4_v2.json
73
81
  - lib/tinderfridge/devices/bricklet_industrial_digital_out_4_v2/bricklet_industrial_digital_out_4_v2.json
82
+ - lib/tinderfridge/devices/bricklet_industrial_dual_0_20ma_v2/bricklet_industrial_dual_0_20ma_v2.json
83
+ - lib/tinderfridge/devices/bricklet_industrial_dual_ac_relay/bricklet_industrial_dual_ac_relay.json
84
+ - lib/tinderfridge/devices/bricklet_industrial_dual_analog_in_v2/bricklet_industrial_dual_analog_in_v2.json
74
85
  - lib/tinderfridge/devices/bricklet_industrial_dual_relay/bricklet_industrial_dual_relay.json
75
86
  - lib/tinderfridge/devices/bricklet_industrial_dual_relay/bricklet_industrial_dual_relay.rb
76
87
  - lib/tinderfridge/devices/bricklet_industrial_ptc/bricklet_industrial_ptc.json
77
88
  - lib/tinderfridge/devices/bricklet_industrial_quad_relay_v2/bricklet_industrial_quad_relay_v2.json
89
+ - lib/tinderfridge/devices/bricklet_io16_v2/bricklet_io16_v2.json
90
+ - lib/tinderfridge/devices/bricklet_io4_v2/bricklet_io4_v2.json
78
91
  - lib/tinderfridge/devices/bricklet_isolator/bricklet_isolator.json
79
92
  - lib/tinderfridge/devices/bricklet_isolator/bricklet_isolator.rb
80
93
  - lib/tinderfridge/devices/bricklet_joystick_v2/bricklet_joystick_v2.json
@@ -85,6 +98,7 @@ files:
85
98
  - lib/tinderfridge/devices/bricklet_led_strip_v2/bricklet_led_strip_v2.json
86
99
  - lib/tinderfridge/devices/bricklet_led_strip_v2/bricklet_led_strip_v2.rb
87
100
  - lib/tinderfridge/devices/bricklet_linear_poti_v2/bricklet_linear_poti_v2.json
101
+ - lib/tinderfridge/devices/bricklet_load_cell_v2/bricklet_load_cell_v2.json
88
102
  - lib/tinderfridge/devices/bricklet_motion_detector_v2/bricklet_motion_detector_v2.json
89
103
  - lib/tinderfridge/devices/bricklet_motion_detector_v2/bricklet_motion_detector_v2.rb
90
104
  - lib/tinderfridge/devices/bricklet_motorized_linear_poti/bricklet_motorized_linear_poti.json
@@ -94,10 +108,14 @@ files:
94
108
  - lib/tinderfridge/devices/bricklet_nfc/bricklet_nfc.json
95
109
  - lib/tinderfridge/devices/bricklet_nfc/bricklet_nfc.rb
96
110
  - lib/tinderfridge/devices/bricklet_oled_128x64_v2/bricklet_oled_128x64_v2.json
111
+ - lib/tinderfridge/devices/bricklet_oled_128x64_v2/bricklet_oled_128x64_v2.rb
112
+ - lib/tinderfridge/devices/bricklet_one_wire/bricklet_one_wire.json
97
113
  - lib/tinderfridge/devices/bricklet_outdoor_weather/bricklet_outdoor_weather.json
98
114
  - lib/tinderfridge/devices/bricklet_outdoor_weather/bricklet_outdoor_weather.rb
115
+ - lib/tinderfridge/devices/bricklet_particulate_matter/bricklet_particulate_matter.json
99
116
  - lib/tinderfridge/devices/bricklet_performance_dc/bricklet_performance_dc.json
100
117
  - lib/tinderfridge/devices/bricklet_piezo_speaker_v2/bricklet_piezo_speaker_v2.json
118
+ - lib/tinderfridge/devices/bricklet_ptc_v2/bricklet_ptc_v2.json
101
119
  - lib/tinderfridge/devices/bricklet_real_time_clock_v2/bricklet_real_time_clock_v2.json
102
120
  - lib/tinderfridge/devices/bricklet_remote_switch_v2/bricklet_remote_switch_v2.json
103
121
  - lib/tinderfridge/devices/bricklet_remote_switch_v2/bricklet_remote_switch_v2.rb
@@ -114,8 +132,11 @@ files:
114
132
  - lib/tinderfridge/devices/bricklet_segment_display_4x7_v2/bricklet_segment_display_4x7_v2.rb
115
133
  - lib/tinderfridge/devices/bricklet_servo_v2/bricklet_servo_v2.json
116
134
  - lib/tinderfridge/devices/bricklet_silent_stepper_v2/bricklet_silent_stepper_v2.json
135
+ - lib/tinderfridge/devices/bricklet_solid_state_relay_v2/bricklet_solid_state_relay_v2.json
117
136
  - lib/tinderfridge/devices/bricklet_sound_pressure_level/bricklet_sound_pressure_level.json
137
+ - lib/tinderfridge/devices/bricklet_sound_pressure_level/bricklet_sound_pressure_level.rb
118
138
  - lib/tinderfridge/devices/bricklet_temperature_ir_v2/bricklet_temperature_ir_v2.json
139
+ - lib/tinderfridge/devices/bricklet_temperature_ir_v2/bricklet_temperature_ir_v2.rb
119
140
  - lib/tinderfridge/devices/bricklet_temperature_v2/bricklet_temperature_v2.json
120
141
  - lib/tinderfridge/devices/bricklet_thermal_imaging/bricklet_thermal_imaging.json
121
142
  - lib/tinderfridge/devices/bricklet_thermocouple_v2/bricklet_thermocouple_v2.json
@@ -124,6 +145,7 @@ files:
124
145
  - lib/tinderfridge/devices/bricklet_voltage_current_v2/bricklet_voltage_current_v2.rb
125
146
  - lib/tinderfridge/devices/bricklet_xmc1400_breakout/bricklet_xmc1400_breakout.json
126
147
  - lib/tinderfridge/ip_connection.rb
148
+ - lib/tinderfridge/shared/display_ibm437_encoding.rb
127
149
  - lib/tinderfridge/tinkerforge.rb
128
150
  - lib/tinderfridge/version.rb
129
151
  homepage: https://github.com/lllisteu/tinderfridge
@@ -148,7 +170,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
148
170
  - !ruby/object:Gem::Version
149
171
  version: '0'
150
172
  requirements: []
151
- rubygems_version: 3.1.4
173
+ rubygems_version: 3.2.32
152
174
  signing_key:
153
175
  specification_version: 4
154
176
  summary: Extending Tinkerforge in fun and useful ways.