Skip to content

Commit

Permalink
fixup! remove unused power meter code
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsVipra committed Dec 15, 2023
1 parent 5fb880e commit a7b0530
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/jobs/mqtt.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@
client.connect()
puts "mqtt: connected to #{client.host} as #{client.client_id}."

client.subscribe('sensors/flukso/power/sum/30s_average') # power
client.subscribe('sensor/esp8266_64760E/data') # hackcenter co2 sensor
client.subscribe('space/dorfstatus')
client.subscribe('space/bell') # door bell
client.subscribe('music/#') # music
client.subscribe('sensor/#') # sensorium

client.get do |topic,message|
message = message.force_encoding('utf-8')
Expand Down

0 comments on commit a7b0530

Please sign in to comment.