This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file is just a sample file that does: | |
# 1) Open CAN bus can0 on the device (for example a raspberry PI using socketcan) | |
# 2) Listening for simple message coming from Hoval heater TTE-WEZ | |
# 3) Publishing each recognized data points to a MQTT broker located at IP 192.168.0.96 with username/password hoval/hoval | |
import can | |
import asyncio | |
import logging | |
import paho.mqtt.client as mqtt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* AppController.j | |
* test | |
* | |
* Created by You on June 25, 2014. | |
* Copyright 2014, Your Company All rights reserved. | |
*/ | |
@import <Foundation/Foundation.j> | |
@import <AppKit/AppKit.j> |