dirkclemens / energy-swift

macOS Swift App (MQTT) Energiebilanz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

energy-swift

macOS & iOS Swift (5.x) App using MQTT to show data from some of my energy sources (first approach)

Data sources:

  • Growatt inverter
  • go-eCharger Homefix
  • OBIS / SML reader (esp8266 based)

screenshot

Building using xcode 14

Install using Carthage (https://github.com/Carthage/Carthage) by adding the following lines to your Cartfile:

github "emqx/CocoaMQTT" "master"
github "SwiftyJSON/SwiftyJSON" ~> 4.0

Then, run the following command:

carthage update --platform macOS,iOS --use-xcframeworks or
carthage update --use-xcframeworks

Integration of the libraries

On your application targets “General” settings tab, in the "Frameworks, Libraries, and Embedded content" section, drag and drop LibraryName.xcframework, from the Carthage/Build folder on disk. Then select "Embed & Sign".

framworks-512x172

About

macOS Swift App (MQTT) Energiebilanz

License:Eclipse Public License 2.0


Languages

Language:Swift 99.8%Language:Ruby 0.2%