# Raspberry Pi 4

**URL:** <https://community.openenergymonitor.org/t/raspberry-pi-4/11242>\
**Category:** Hardware\
**Tags:** raspberrypi4\
**Created:** [24 June 2019 06:15 UTC](https://community.openenergymonitor.org/t/raspberry-pi-4/11242 "2019-06-24T06:15:32Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![pb66](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/pb66/32/27_2.png) [@pb66](https://community.openenergymonitor.org/u/pb66)\
**Post date:** [24 June 2019 15:02 UTC](https://community.openenergymonitor.org/t/raspberry-pi-4/11242/12 "2019-06-24T15:02:28Z")

</div>

There were issues with Mosquitto 1.6.2

> [Emon MQTT data incomplete](https://community.openenergymonitor.org/t/emon-mqtt-data-incomplete/10964)
> 
> [Feed from one input stops updating, others feeds continue to work](https://community.openenergymonitor.org/t/feed-from-one-input-stops-updating-others-feeds-continue-to-work/11084)
> 
> [Mosquitto V1.6.2 MQTT issues](https://community.openenergymonitor.org/t/mosquitto-v1-6-2-mqtt-issues/11088)

due to the older images using the Mosquitto repos rather than Debian’s, we are currently using 1.4.10, Buster uses 1.5.7, i seem to recall that when the raspbian repo was at 1.5.? users (Brian?) were rolling back to the 1.4.10 due to some other errors, where between 1.4.10 and 1.6.2 things fall over i don’t know.

> [@TrystanLea](#):
>
> looks like 7 might now be supported? [https://github.com/mgdm/Mosquitto-PHP](https://github.com/mgdm/Mosquitto-PHP)

Yeah, initial php7 support came in at the end of 2016, little has happened since then, only 2 commits since the end of 2017!

> [@TrystanLea](#):
>
> Has anyone tested the latest Mosquitto-PHP with 7.3?

A couple of those links above do use 7.3, but the issues were with the Mosquitto version not so much the PHP version AFAIK.

The extension hasn’t been updated since March 2017 on [PECL](https://pecl.php.net/package/Mosquitto), php 7.3 didn’t release until 2018 so if it is compatible it’s more chance than anything.

> [@TrystanLea](#):
>
> I’m making a lot of use of MQTT as part of the demandshaper module so I would be keen for a PHP solution to this and Im not convinced we should throw it out more generally.

I wasn’t suggesting dropping MQTT support, just changing the way it’s done. You maybe flogging a dead horse with support for MQTT in PHP, even if PHP7.3 does work with Mosquitto 1.5.7, what happens when we reach Mosquitto 1.6.2 (already known to be an issue)? or php7.4, scheduled to be released on November 21, 2019?

---

_[View the full topic](https://community.openenergymonitor.org/t/raspberry-pi-4/11242)._
